UniVRM/Scripts
emilianavt 45da02f146 Allow first/third person layers to be named
The first person and third person layers used hard coded IDs. If these layers
are already in use in a Unity project, this use can lead to conflicts between
the layers used by UniVRM and those inside the project. This patch allows using
Unity's layer settings to assign layer IDs through names ("VRMFirstPersonOnly"
and "VRMThirdPersonOnly").

If no named layers are found, the predefined layer IDs will be used. Since the
layer IDs are accessed only during model setup, there should be no performance
impact from this change. The names of the fields storing the layer IDs have not
been changed to keep API compatibility.

This issue was originally noticed by @Deatrathias (Virtual_Deat on Twitter).
2018-11-24 20:59:14 +01:00
..
BlendShape Removed Debug.LogFormat 2018-11-09 17:54:50 +09:00
Editor Remove VRMTest.cs 2018-10-01 14:11:10 +09:00
FirstPerson Allow first/third person layers to be named 2018-11-24 20:59:14 +01:00
Format Updated UniGLTF 2018-11-07 13:25:16 +09:00
Humanoid add VRM scripts 2018-03-27 19:46:11 +09:00
LookAt VRMLookAtHeadEditor.OnSceneGUI draw when no target 2018-11-16 22:34:32 +09:00
Meta Remove thumbnail 2018-11-03 19:32:25 +09:00
PreExportShaderProps Updated ShaderProps for MToon 2018-10-10 21:34:50 +09:00
SkinnedMeshUtility UNITY_2018_2_OR_NEWER 2018-10-10 17:50:21 +09:00
SpringBone Fixed OnDrawGizmosSelected 2018-09-06 15:09:07 +09:00
BlendShape.meta add VRM scripts 2018-03-27 19:46:11 +09:00
Editor.meta add VRM scripts 2018-03-27 19:46:11 +09:00
EnumUtil.cs add defaultValue to EnumUtil.TryParseOrDefault 2018-04-07 18:24:57 +09:00
EnumUtil.cs.meta add EnumUtil 2018-04-07 17:23:30 +09:00
FirstPerson.meta add VRM scripts 2018-03-27 19:46:11 +09:00
Format.meta add VRM scripts 2018-03-27 19:46:11 +09:00
Humanoid.meta add VRM scripts 2018-03-27 19:46:11 +09:00
IVRMComponent.cs add VRMViewer scene. add IVRMComponent. fix VRMLookAtHead and VRMLookAtBoneApplyer initialization. 2018-04-19 01:54:30 +09:00
IVRMComponent.cs.meta add VRMViewer scene. add IVRMComponent. fix VRMLookAtHead and VRMLookAtBoneApplyer initialization. 2018-04-19 01:54:30 +09:00
LookAt.meta add VRM scripts 2018-03-27 19:46:11 +09:00
Meta.meta add VRM scripts 2018-03-27 19:46:11 +09:00
PreExportShaderProps.meta Added VRMPreShaderPropExporter 2018-07-31 22:04:01 +09:00
SkinnedMeshUtility.meta add VRM scripts 2018-03-27 19:46:11 +09:00
SpringBone.meta add VRM scripts 2018-03-27 19:46:11 +09:00