Added first Editor Tests
This commit is contained in:
parent
80a5581054
commit
ad17216055
8
Tests/Editor.meta
Normal file
8
Tests/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fad1bd53ee2cf424588f72af44f9ea9d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Tests/Editor/Humanoid.meta
Normal file
8
Tests/Editor/Humanoid.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75a7d3ceccdf05046837c8e6d328ae16
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
99
Tests/Editor/Humanoid/HumanoidControlEditorTest.cs
Normal file
99
Tests/Editor/Humanoid/HumanoidControlEditorTest.cs
Normal file
@ -0,0 +1,99 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Passer.Humanoid {
|
||||
|
||||
public class HumanoidControlEditorTest {
|
||||
|
||||
[Test]
|
||||
[Category("Humanoid")]
|
||||
public void HumanoidControl_UnityXR() {
|
||||
UnityEditor.SceneManagement.EditorSceneManager.NewScene(UnityEditor.SceneManagement.NewSceneSetup.EmptyScene);
|
||||
|
||||
GameObject humanoidObj = new GameObject("Humanoid");
|
||||
HumanoidControl humanoid = humanoidObj.AddComponent<HumanoidControl>();
|
||||
Assert.IsFalse(humanoid == null);
|
||||
|
||||
humanoid.DetermineTargets();
|
||||
|
||||
GameObject avatarModel = (GameObject)AssetDatabase.LoadMainAssetAtPath("Packages/com.passervr.humanoidcontrol_free/Tests/Editor/Humanoid/MakeHuman_simple_TP.fbx");
|
||||
GameObject avatar = GameObject.Instantiate(avatarModel, humanoid.transform);
|
||||
Assert.IsFalse(avatar == null);
|
||||
Assert.IsTrue(avatar.transform.parent == humanoidObj.transform);
|
||||
|
||||
Animator avatarAnimator = humanoid.GetAvatar(humanoidObj);
|
||||
Assert.IsFalse(avatarAnimator == null);
|
||||
|
||||
humanoid.unityXR.enabled = true;
|
||||
Assert.IsTrue(humanoid.unityXR.trackerComponent == null);
|
||||
humanoid.unityXR.CheckTracker(humanoid);
|
||||
Assert.IsTrue(humanoid.unityXR.trackerComponent != null);
|
||||
|
||||
humanoid.unityXR.enabled = false;
|
||||
Assert.IsTrue(humanoid.unityXR.trackerComponent != null);
|
||||
humanoid.unityXR.CheckTracker(humanoid);
|
||||
Assert.IsTrue(humanoid.unityXR.trackerComponent == null);
|
||||
|
||||
// Head
|
||||
|
||||
HeadTarget headTarget = humanoid.headTarget;
|
||||
|
||||
humanoid.unityXR.enabled = false;
|
||||
|
||||
headTarget.unityXR.enabled = true;
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent == null);
|
||||
headTarget.unityXR.CheckSensor(headTarget);
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent == null);
|
||||
|
||||
humanoid.unityXR.enabled = true;
|
||||
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent == null);
|
||||
headTarget.unityXR.CheckSensor(headTarget);
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent != null);
|
||||
|
||||
headTarget.unityXR.enabled = false;
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent != null);
|
||||
headTarget.unityXR.CheckSensor(headTarget);
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent == null);
|
||||
|
||||
headTarget.unityXR.enabled = false;
|
||||
headTarget.unityXR.CheckSensor(headTarget);
|
||||
|
||||
humanoid.unityXR.enabled = false;
|
||||
humanoid.unityXR.CheckTracker(humanoid);
|
||||
Assert.IsTrue(headTarget.unityXR.sensorComponent == null);
|
||||
|
||||
// Hand
|
||||
|
||||
HandTarget handTarget = humanoid.leftHandTarget;
|
||||
|
||||
humanoid.unityXR.enabled = false;
|
||||
|
||||
handTarget.unityXR.enabled = true;
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent == null);
|
||||
handTarget.unityXR.CheckSensor(handTarget);
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent == null);
|
||||
|
||||
humanoid.unityXR.enabled = true;
|
||||
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent == null);
|
||||
handTarget.unityXR.CheckSensor(handTarget);
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent != null);
|
||||
|
||||
handTarget.unityXR.enabled = false;
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent != null);
|
||||
handTarget.unityXR.CheckSensor(handTarget);
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent == null);
|
||||
|
||||
handTarget.unityXR.enabled = false;
|
||||
handTarget.unityXR.CheckSensor(handTarget);
|
||||
|
||||
humanoid.unityXR.enabled = false;
|
||||
humanoid.unityXR.CheckTracker(humanoid);
|
||||
Assert.IsTrue(handTarget.unityXR.sensorComponent == null);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
11
Tests/Editor/Humanoid/HumanoidControlEditorTest.cs.meta
Normal file
11
Tests/Editor/Humanoid/HumanoidControlEditorTest.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 264a27621d0cec14189c203a58997fce
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9758
Tests/Editor/Humanoid/HumanoidControlTest.unity
Normal file
9758
Tests/Editor/Humanoid/HumanoidControlTest.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Tests/Editor/Humanoid/HumanoidControlTest.unity.meta
Normal file
7
Tests/Editor/Humanoid/HumanoidControlTest.unity.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d64472d5555943a44b0c864a738c0803
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Tests/Editor/Humanoid/MakeHuman_simple_TP.fbx
Normal file
BIN
Tests/Editor/Humanoid/MakeHuman_simple_TP.fbx
Normal file
Binary file not shown.
1469
Tests/Editor/Humanoid/MakeHuman_simple_TP.fbx.meta
Normal file
1469
Tests/Editor/Humanoid/MakeHuman_simple_TP.fbx.meta
Normal file
File diff suppressed because it is too large
Load Diff
8
Tests/Editor/Humanoid/Materials.meta
Normal file
8
Tests/Editor/Humanoid/Materials.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 335ca16dabaa3ad45b95989b7d2141b1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
77
Tests/Editor/Humanoid/Materials/MakeHuman_ClassicShoes.mat
Normal file
77
Tests/Editor/Humanoid/Materials/MakeHuman_ClassicShoes.mat
Normal file
@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MakeHuman_ClassicShoes
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 10
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 3
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 0.1, g: 0.1, b: 0.1, a: 0.9}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87dbf6c12981d8844a9b1b1e9eba3f33
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
77
Tests/Editor/Humanoid/Materials/MakeHuman_Jeans.mat
Normal file
77
Tests/Editor/Humanoid/Materials/MakeHuman_Jeans.mat
Normal file
@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MakeHuman_Jeans
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 10
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 3
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 0.0426, g: 0.0557, b: 0.2079, a: 0.9574}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
8
Tests/Editor/Humanoid/Materials/MakeHuman_Jeans.mat.meta
Normal file
8
Tests/Editor/Humanoid/Materials/MakeHuman_Jeans.mat.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8de52f58964a1249ba21eff416db31e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
77
Tests/Editor/Humanoid/Materials/MakeHuman_Longsleeve.mat
Normal file
77
Tests/Editor/Humanoid/Materials/MakeHuman_Longsleeve.mat
Normal file
@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MakeHuman_Longsleeve
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 10
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 3
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 0.19999999}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d88ca36bf70e4a94dbbde9e2cec5e7eb
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
77
Tests/Editor/Humanoid/Materials/MakeHuman_Skin.mat
Normal file
77
Tests/Editor/Humanoid/Materials/MakeHuman_Skin.mat
Normal file
@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MakeHuman_Skin
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 10
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 3
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 0.8, g: 0.54, b: 0.35, a: 0.19999999}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
8
Tests/Editor/Humanoid/Materials/MakeHuman_Skin.mat.meta
Normal file
8
Tests/Editor/Humanoid/Materials/MakeHuman_Skin.mat.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7829ea3f1fd3ea44b855044f6ac7c20
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
22
Tests/Editor/PasserVR.HumanoidControl.EditorTests.asmdef
Normal file
22
Tests/Editor/PasserVR.HumanoidControl.EditorTests.asmdef
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "PasserVR.HumanoidControl.EditorTests",
|
||||
"references": [
|
||||
"UnityEngine.TestRunner",
|
||||
"UnityEditor.TestRunner",
|
||||
"PasserVR.HumanoidControl",
|
||||
"PasserVR.HumanoidControl.Editor"
|
||||
],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": true,
|
||||
"precompiledReferences": [
|
||||
"nunit.framework.dll"
|
||||
],
|
||||
"autoReferenced": false,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2e20a67a029b6548b82d6a6fab0fd3e
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -10,7 +10,6 @@
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": true,
|
||||
"precompiledReferences": [
|
||||
"nunit.framework.dll",
|
||||
"nunit.framework.dll"
|
||||
],
|
||||
"autoReferenced": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user