From 2d7b0334af7071114b65f8023eb5074b3cef38ec Mon Sep 17 00:00:00 2001 From: Hiroki Omae Date: Tue, 30 Nov 2021 05:59:36 +0900 Subject: [PATCH] Adding SRD LookAt Asking unity-chan to look at person looking over SRD --- Assets/Scenes/Main.unity | 124 +- .../C86unitychan_003_NOT01_Final.fbx.meta | 9 +- .../UnityChan/Animators/MocapC86.controller | 1378 +++++++++++------ Assets/UnityChan/Prefabs/LookAtManager.prefab | 46 + .../Prefabs/LookAtManager.prefab.meta | 7 + Assets/UnityChan/Prefabs/unitychan_hw.prefab | 51 + Assets/UnityChan/Scenes/UnityChan_hw.unity | 152 +- Assets/UnityChan/Scenes/test.unity | 559 +++++++ Assets/UnityChan/Scenes/test.unity.meta | 7 + Assets/UnityChan/Scripts/IKLookAt.cs | 77 + Assets/UnityChan/Scripts/IKLookAt.cs.meta | 11 + Assets/UnityChan/Scripts/ILookAt.cs | 9 + Assets/UnityChan/Scripts/ILookAt.cs.meta | 11 + Assets/UnityChan/Scripts/LookAtManager.cs | 45 + .../UnityChan/Scripts/LookAtManager.cs.meta | 11 + 15 files changed, 1843 insertions(+), 654 deletions(-) create mode 100644 Assets/UnityChan/Prefabs/LookAtManager.prefab create mode 100644 Assets/UnityChan/Prefabs/LookAtManager.prefab.meta create mode 100644 Assets/UnityChan/Scenes/test.unity create mode 100644 Assets/UnityChan/Scenes/test.unity.meta create mode 100644 Assets/UnityChan/Scripts/IKLookAt.cs create mode 100644 Assets/UnityChan/Scripts/IKLookAt.cs.meta create mode 100644 Assets/UnityChan/Scripts/ILookAt.cs create mode 100644 Assets/UnityChan/Scripts/ILookAt.cs.meta create mode 100644 Assets/UnityChan/Scripts/LookAtManager.cs create mode 100644 Assets/UnityChan/Scripts/LookAtManager.cs.meta diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index ec5ad6e6..182d0255 100755 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -131,7 +131,7 @@ GameObject: m_Component: - component: {fileID: 392113446} m_Layer: 0 - m_Name: GameObject + m_Name: Logos m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -153,6 +153,12 @@ Transform: m_Father: {fileID: 1183524331} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0} +--- !u!1 &651595992 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1102502084710746372, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + m_PrefabInstance: {fileID: 1233964474} + m_PrefabAsset: {fileID: 0} --- !u!1 &672897462 GameObject: m_ObjectHideFlags: 0 @@ -340,6 +346,36 @@ PrefabInstance: propertyPath: _SRDViewSpaceScale value: 15 objectReference: {fileID: 0} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 1630668322} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: LookAtEnabled + objectReference: {fileID: 0} + - target: {fileID: 1275831002520144432, guid: 0d4a692a29b936c458e16d4ce61341a7, + type: 3} + propertyPath: OnFaceTrackStateEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} - target: {fileID: 1275831002520144435, guid: 0d4a692a29b936c458e16d4ce61341a7, type: 3} propertyPath: m_Name @@ -352,6 +388,92 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 0d4a692a29b936c458e16d4ce61341a7, type: 3} +--- !u!1001 &1630668321 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352007, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: lookAtTarget + value: + objectReference: {fileID: 651595992} + - target: {fileID: 3632826538578352024, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_Name + value: LookAtManager + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 820bfee784472a441a3ee53c2cf826be, type: 3} +--- !u!114 &1630668322 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 3632826538578352007, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + m_PrefabInstance: {fileID: 1630668321} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 270c2ea69dab95f4886ad7338969d875, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &1735796192 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/UnityChan/Animations/C86unitychan_003_NOT01_Final.fbx.meta b/Assets/UnityChan/Animations/C86unitychan_003_NOT01_Final.fbx.meta index 80ebb2b9..26b65bde 100755 --- a/Assets/UnityChan/Animations/C86unitychan_003_NOT01_Final.fbx.meta +++ b/Assets/UnityChan/Animations/C86unitychan_003_NOT01_Final.fbx.meta @@ -918,14 +918,7 @@ ModelImporter: mirror: 0 bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 curves: [] - events: - - time: 0.9972909 - functionName: OnCallMusicPlay - data: stop - objectReferenceParameter: {instanceID: 0} - floatParameter: 0 - intParameter: 0 - messageOptions: 0 + events: [] transformMask: - path: weight: 1 diff --git a/Assets/UnityChan/Animators/MocapC86.controller b/Assets/UnityChan/Animators/MocapC86.controller index 652c17dc..177bd84f 100755 --- a/Assets/UnityChan/Animators/MocapC86.controller +++ b/Assets/UnityChan/Animators/MocapC86.controller @@ -3,10 +3,11 @@ --- !u!91 &9100000 AnimatorController: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MocapC86 - serializedVersion: 2 + serializedVersion: 5 m_AnimatorParameters: - m_Name: Next m_Type: 4 @@ -21,881 +22,1264 @@ AnimatorController: m_DefaultBool: 0 m_Controller: {fileID: 9100000} m_AnimatorLayers: - - serializedVersion: 3 + - serializedVersion: 5 m_Name: Base Layer m_StateMachine: {fileID: 110700000} m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] m_BlendingMode: 0 m_SyncedLayerIndex: -1 - m_StateMachineMotionSetIndex: 0 m_DefaultWeight: 0 - m_IKPass: 0 + m_IKPass: 1 m_SyncedLayerAffectsTiming: 0 m_Controller: {fileID: 9100000} - - serializedVersion: 3 + - serializedVersion: 5 m_Name: Face m_StateMachine: {fileID: 110720301} m_Mask: {fileID: 101100000, guid: c6893d99d338240cd834967aa6448379, type: 2} + m_Motions: [] + m_Behaviours: [] m_BlendingMode: 0 m_SyncedLayerIndex: -1 - m_StateMachineMotionSetIndex: 0 m_DefaultWeight: 0 m_IKPass: 0 m_SyncedLayerAffectsTiming: 0 m_Controller: {fileID: 9100000} - - serializedVersion: 3 + - serializedVersion: 5 m_Name: HandExpression m_StateMachine: {fileID: 110765578} m_Mask: {fileID: 101100000, guid: 480f91dc2972ea74e914061101dddf55, type: 2} + m_Motions: [] + m_Behaviours: [] m_BlendingMode: 0 m_SyncedLayerIndex: -1 - m_StateMachineMotionSetIndex: 0 m_DefaultWeight: 1 m_IKPass: 0 m_SyncedLayerAffectsTiming: 0 m_Controller: {fileID: 9100000} --- !u!1101 &110100000 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110294064} + m_Conditions: [] + m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 110294064} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 - m_Conditions: - - m_ConditionMode: 5 - m_ConditionEvent: - m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9989612 + m_HasExitTime: 1 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110100388 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110294064} - m_DstState: {fileID: 110272948} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110272948} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110101285 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110276754} - m_DstState: {fileID: 110233026} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110233026} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110108149 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 0} - m_DstState: {fileID: 110274979} - m_TransitionDuration: 7.49999952 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 0} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.4999995 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110111942 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110246371} - m_DstState: {fileID: 110276754} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110276754} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110115633 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110224227} - m_DstState: {fileID: 110224227} - m_TransitionDuration: 7.49999857 - m_TransitionOffset: 0 - m_Conditions: - - m_ConditionMode: 5 - m_ConditionEvent: - m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 0} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.4999986 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110120693 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110233026} - m_DstState: {fileID: 110276754} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110276754} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110127639 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110272948} - m_DstState: {fileID: 110200000} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110200000} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110133152 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110246371} - m_DstState: {fileID: 110233026} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110233026} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110138725 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110200000} - m_DstState: {fileID: 110272948} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110272948} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110140795 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110200000} - m_DstState: {fileID: 110294064} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110294064} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110156948 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 0} + m_Conditions: [] + m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 0} - m_TransitionDuration: 7.4999938 - m_TransitionOffset: 0 - m_Conditions: - - m_ConditionMode: 5 - m_ConditionEvent: - m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.499994 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110159399 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110274979} - m_DstState: {fileID: 0} - m_TransitionDuration: 7.4999938 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 0} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.499994 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110173998 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110294064} - m_DstState: {fileID: 110200000} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110200000} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110176160 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110272948} - m_DstState: {fileID: 110294064} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110294064} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110176725 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110280028} - m_DstState: {fileID: 110280028} - m_TransitionDuration: 7.49999714 - m_TransitionOffset: 0 - m_Conditions: - - m_ConditionMode: 5 - m_ConditionEvent: - m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 0} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.499997 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110186849 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 0} + m_Conditions: [] + m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 0} - m_TransitionDuration: 7.4999938 - m_TransitionOffset: 0 - m_Conditions: - - m_ConditionMode: 5 - m_ConditionEvent: - m_EventTreshold: 0 - m_ExitTime: 0 - m_Atomic: 1 m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 7.499994 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110187715 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110233026} - m_DstState: {fileID: 110246371} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Back m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110246371} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1101 &110190650 -Transition: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: - m_SrcState: {fileID: 110276754} - m_DstState: {fileID: 110246371} - m_TransitionDuration: .00103878113 - m_TransitionOffset: 0 m_Conditions: - m_ConditionMode: 1 m_ConditionEvent: Next m_EventTreshold: 0 - m_ExitTime: .99896121 - m_Atomic: 1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 110246371} m_Solo: 0 m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.0010387811 + m_TransitionOffset: 0 + m_ExitTime: 0.9 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 --- !u!1102 &110200000 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: HandExpression m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} - m_ParentStateMachine: {fileID: 110765578} + m_Transitions: + - {fileID: 110140795} + - {fileID: 110138725} + m_StateMachineBehaviours: [] m_Position: {x: 276, y: -96, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110200626 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: conf@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 2d64a878e09fc46ce9d3079357ebb3a5, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 132, y: 36, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 2d64a878e09fc46ce9d3079357ebb3a5, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110219635 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: smile3@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 0a160f06de2724e63b3006c94840dce7, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 360, y: 108, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 0a160f06de2724e63b3006c94840dce7, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110231955 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: default@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 6394472d24c9347e5bb789ec1f15e5bb, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 132, y: -156, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 6394472d24c9347e5bb789ec1f15e5bb, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110233026 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: 001_SAK01_Final m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: f641e8088d5972b468c9fe5457cc077e, type: 3} - m_ParentStateMachine: {fileID: 110700000} + m_Transitions: + - {fileID: 110120693} + - {fileID: 110187715} + m_StateMachineBehaviours: [] m_Position: {x: 420, y: -48, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: f641e8088d5972b468c9fe5457cc077e, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110238321 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: smile1@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 06b76ba9895174fc19d91c361e7c911b, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 576, y: -156, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 06b76ba9895174fc19d91c361e7c911b, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110239159 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: eye_close@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 73cb3ae8fc1de47a0a307cb5f95ec701, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 360, y: 36, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 73cb3ae8fc1de47a0a307cb5f95ec701, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110239864 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: sap@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: ff0ec808b24b748e482e13ebfc9305ad, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 132, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: ff0ec808b24b748e482e13ebfc9305ad, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110241216 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MTH_I m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 5da03c4c995e34f35a8c17702e9d6012, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 804, y: -84, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 5da03c4c995e34f35a8c17702e9d6012, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110246371 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: 003_NOT01_Final m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 4a5d2d624a65daa4a9c8cf5164951049, type: 3} - m_ParentStateMachine: {fileID: 110700000} + m_Transitions: + - {fileID: 110133152} + - {fileID: 110111942} + m_StateMachineBehaviours: [] m_Position: {x: 540, y: -120, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 4a5d2d624a65daa4a9c8cf5164951049, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110247631 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: disstract1@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: fc07439899bf64b59b05471e3d59be6a, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 360, y: -156, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: fc07439899bf64b59b05471e3d59be6a, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110251756 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: SURPRISE m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: a20620e3db1a64f2f9a3e3339b884479, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 576, y: 36, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: a20620e3db1a64f2f9a3e3339b884479, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110251776 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MTH_O m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 8564dc45968774e70ad835503fda627e, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 804, y: 96, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 8564dc45968774e70ad835503fda627e, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110257106 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MTH_A m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: aaf4f40e5f852472f9eb781bef3a2c17, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 804, y: -156, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: aaf4f40e5f852472f9eb781bef3a2c17, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110260361 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: angry2@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 66c6a39c175f346f6b2e3016fa5ae35b, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 576, y: -84, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 66c6a39c175f346f6b2e3016fa5ae35b, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110263655 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: angry1@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 689da6f371ad8441395f39acaf2c7ae3, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 132, y: -84, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 689da6f371ad8441395f39acaf2c7ae3, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110272652 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MTH_U m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 69a5af149623d4592b3764b7cb6a7482, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 804, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 69a5af149623d4592b3764b7cb6a7482, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110272948 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: HandExpression 1 m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} - m_ParentStateMachine: {fileID: 110765578} + m_Transitions: + - {fileID: 110127639} + - {fileID: 110176160} + m_StateMachineBehaviours: [] m_Position: {x: 168, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110276754 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: 002_SIM01_Final m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: c3e95622502f40342a4c7eb48816689d, type: 3} - m_ParentStateMachine: {fileID: 110700000} + m_Transitions: + - {fileID: 110190650} + - {fileID: 110101285} + m_StateMachineBehaviours: [] m_Position: {x: 648, y: -48, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: c3e95622502f40342a4c7eb48816689d, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110279370 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: ASHAMED m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 3555863ff4ef948e298b8d11ea795ec4, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 576, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 3555863ff4ef948e298b8d11ea795ec4, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110281223 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: disstract2@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 4f32f4345ffde43aca2270c41dcf6e81, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 360, y: -84, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 4f32f4345ffde43aca2270c41dcf6e81, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110291721 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: MTH_E m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 63e3bd86527074923b9dc38ddb715245, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 804, y: 36, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 63e3bd86527074923b9dc38ddb715245, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110294064 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: HandExpression 0 m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} - m_ParentStateMachine: {fileID: 110765578} + m_Transitions: + - {fileID: 110100388} + - {fileID: 110173998} + m_StateMachineBehaviours: [] m_Position: {x: 396, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 289ec39a719278c40aa93fbab246b828, type: 3} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1102 &110299594 -State: - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: smile2@unitychan m_Speed: 1 m_CycleOffset: 0 - m_Motions: - - {fileID: 7400000, guid: 901d9b98ec9a64ade8f264b6e32c1341, type: 2} - m_ParentStateMachine: {fileID: 110720301} + m_Transitions: [] + m_StateMachineBehaviours: [] m_Position: {x: 360, y: -24, z: 0} m_IKOnFeet: 0 + m_WriteDefaultValues: 1 m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 901d9b98ec9a64ade8f264b6e32c1341, type: 2} m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!1107 &110700000 -StateMachine: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateMachine: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: Base Layer - m_DefaultState: {fileID: 110246371} - m_States: - - {fileID: 110246371} - - {fileID: 110233026} - - {fileID: 110276754} - m_ChildStateMachine: [] - m_ChildStateMachinePosition: [] - m_OrderedTransitions: - data: - first: {fileID: 0} - second: [] - data: - first: {fileID: 110246371} - second: - - {fileID: 110133152} - - {fileID: 110111942} - data: - first: {fileID: 110233026} - second: - - {fileID: 110120693} - - {fileID: 110187715} - data: - first: {fileID: 110276754} - second: - - {fileID: 110190650} - - {fileID: 110101285} - m_MotionSetCount: 1 + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 110246371} + m_Position: {x: 540, y: -120, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110233026} + m_Position: {x: 420, y: -48, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110276754} + m_Position: {x: 648, y: -48, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] m_AnyStatePosition: {x: -12, y: -24, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 110246371} --- !u!1107 &110720301 -StateMachine: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateMachine: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: Face - m_DefaultState: {fileID: 110231955} - m_States: - - {fileID: 110263655} - - {fileID: 110239864} - - {fileID: 110200626} - - {fileID: 110299594} - - {fileID: 110239159} - - {fileID: 110238321} - - {fileID: 110260361} - - {fileID: 110231955} - - {fileID: 110247631} - - {fileID: 110281223} - - {fileID: 110279370} - - {fileID: 110251756} - - {fileID: 110257106} - - {fileID: 110241216} - - {fileID: 110272652} - - {fileID: 110291721} - - {fileID: 110251776} - - {fileID: 110219635} - m_ChildStateMachine: [] - m_ChildStateMachinePosition: [] - m_OrderedTransitions: - data: - first: {fileID: 0} - second: [] - m_MotionSetCount: 1 + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 110263655} + m_Position: {x: 132, y: -84, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110239864} + m_Position: {x: 132, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110200626} + m_Position: {x: 132, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110299594} + m_Position: {x: 360, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110239159} + m_Position: {x: 360, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110238321} + m_Position: {x: 576, y: -156, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110260361} + m_Position: {x: 576, y: -84, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110231955} + m_Position: {x: 132, y: -156, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110247631} + m_Position: {x: 360, y: -156, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110281223} + m_Position: {x: 360, y: -84, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110279370} + m_Position: {x: 576, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110251756} + m_Position: {x: 576, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110257106} + m_Position: {x: 804, y: -156, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110241216} + m_Position: {x: 804, y: -84, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110272652} + m_Position: {x: 804, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110291721} + m_Position: {x: 804, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110251776} + m_Position: {x: 804, y: 96, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110219635} + m_Position: {x: 360, y: 108, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] m_AnyStatePosition: {x: -48, y: -144, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 110231955} --- !u!1107 &110765578 -StateMachine: - serializedVersion: 2 - m_ObjectHideFlags: 3 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} +AnimatorStateMachine: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: HandExpression - m_DefaultState: {fileID: 110200000} - m_States: - - {fileID: 110200000} - - {fileID: 110294064} - - {fileID: 110272948} - m_ChildStateMachine: [] - m_ChildStateMachinePosition: [] - m_OrderedTransitions: - data: - first: {fileID: 110200000} - second: - - {fileID: 110140795} - - {fileID: 110138725} - data: - first: {fileID: 110294064} - second: - - {fileID: 110100388} - - {fileID: 110173998} - data: - first: {fileID: 110272948} - second: - - {fileID: 110127639} - - {fileID: 110176160} - m_MotionSetCount: 1 + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 110200000} + m_Position: {x: 276, y: -96, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110294064} + m_Position: {x: 396, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 110272948} + m_Position: {x: 168, y: -24, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] m_AnyStatePosition: {x: 36, y: 72, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 110200000} diff --git a/Assets/UnityChan/Prefabs/LookAtManager.prefab b/Assets/UnityChan/Prefabs/LookAtManager.prefab new file mode 100644 index 00000000..9557237d --- /dev/null +++ b/Assets/UnityChan/Prefabs/LookAtManager.prefab @@ -0,0 +1,46 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3632826538578352024 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3632826538578352006} + - component: {fileID: 3632826538578352007} + m_Layer: 0 + m_Name: LookAtManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3632826538578352006 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3632826538578352024} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3632826538578352007 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3632826538578352024} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 270c2ea69dab95f4886ad7338969d875, type: 3} + m_Name: + m_EditorClassIdentifier: + lookAtTarget: {fileID: 0} diff --git a/Assets/UnityChan/Prefabs/LookAtManager.prefab.meta b/Assets/UnityChan/Prefabs/LookAtManager.prefab.meta new file mode 100644 index 00000000..b8401ac8 --- /dev/null +++ b/Assets/UnityChan/Prefabs/LookAtManager.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 820bfee784472a441a3ee53c2cf826be +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UnityChan/Prefabs/unitychan_hw.prefab b/Assets/UnityChan/Prefabs/unitychan_hw.prefab index 39cb747a..4dbb9f24 100644 --- a/Assets/UnityChan/Prefabs/unitychan_hw.prefab +++ b/Assets/UnityChan/Prefabs/unitychan_hw.prefab @@ -5128,6 +5128,7 @@ GameObject: - component: {fileID: 11400122} - component: {fileID: 11400126} - component: {fileID: 11400012} + - component: {fileID: 226907673096913655} m_Layer: 8 m_Name: unitychan_hw m_TagString: Untagged @@ -5351,6 +5352,24 @@ MonoBehaviour: - {fileID: 11400138} - {fileID: 11400136} - {fileID: 11400134} +--- !u!114 &226907673096913655 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 100218} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 208da3d971ea6b348867ca12cca26ad7, type: 3} + m_Name: + m_EditorClassIdentifier: + animator: {fileID: 9500000} + bodyWeight: 0.11 + headWeight: 0.803 + clampWeight: 0.993 + transitionSec: 0.448 + _currentWeight: 0 --- !u!1 &100220 GameObject: m_ObjectHideFlags: 0 @@ -7311,6 +7330,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 400304} + - component: {fileID: 1649152467941312184} m_Layer: 8 m_Name: locator_Eye_R m_TagString: Untagged @@ -7332,6 +7352,21 @@ Transform: m_Father: {fileID: 400318} m_RootOrder: 15 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1649152467941312184 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 100304} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b114e436b5011470a9d48c0b8f66a156, type: 3} + m_Name: + m_EditorClassIdentifier: + eyeObj: {fileID: 2300000} + multiplierX: 0.5 + multiplierY: 1 --- !u!1 &100306 GameObject: m_ObjectHideFlags: 0 @@ -7950,6 +7985,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 400334} + - component: {fileID: 398217867375421273} m_Layer: 8 m_Name: locator_Eye_L m_TagString: Untagged @@ -7971,6 +8007,21 @@ Transform: m_Father: {fileID: 400318} m_RootOrder: 14 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &398217867375421273 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 100334} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b114e436b5011470a9d48c0b8f66a156, type: 3} + m_Name: + m_EditorClassIdentifier: + eyeObj: {fileID: 2300006} + multiplierX: 0.5 + multiplierY: 1 --- !u!1 &100336 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/UnityChan/Scenes/UnityChan_hw.unity b/Assets/UnityChan/Scenes/UnityChan_hw.unity index 06fb4a1a..8dbaa74e 100644 --- a/Assets/UnityChan/Scenes/UnityChan_hw.unity +++ b/Assets/UnityChan/Scenes/UnityChan_hw.unity @@ -212,7 +212,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &180302172 MonoBehaviour: @@ -371,152 +371,8 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 27.261002, y: -563.641, z: 67.156006} ---- !u!1 &1339018126 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 100000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, - type: 2} - m_PrefabInstance: {fileID: 1398687468} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1339018128} - - component: {fileID: 1339018127} - m_Layer: 0 - m_Name: Directional light for UnityChan - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!108 &1339018127 -Light: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 10800000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, - type: 2} - m_PrefabInstance: {fileID: 1398687468} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1339018126} - m_Enabled: 1 - serializedVersion: 10 - m_Type: 1 - m_Shape: 0 - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_Intensity: 1.370351 - m_Range: 10 - m_SpotAngle: 30 - m_InnerSpotAngle: 21.80208 - m_CookieSize: 10 - m_Shadows: - m_Type: 2 - m_Resolution: -1 - m_CustomResolution: -1 - m_Strength: 1 - m_Bias: 0.05 - m_NormalBias: 0.4 - m_NearPlane: 0.2 - m_CullingMatrixOverride: - e00: 1 - e01: 0 - e02: 0 - e03: 0 - e10: 0 - e11: 1 - e12: 0 - e13: 0 - e20: 0 - e21: 0 - e22: 1 - e23: 0 - e30: 0 - e31: 0 - e32: 0 - e33: 1 - m_UseCullingMatrixOverride: 0 - m_Cookie: {fileID: 0} - m_DrawHalo: 0 - m_Flare: {fileID: 0} - m_RenderMode: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingLayerMask: 1 - m_Lightmapping: 1 - m_LightShadowCasterMode: 0 - m_AreaSize: {x: 1, y: 1} - m_BounceIntensity: 1 - m_ColorTemperature: 6570 - m_UseColorTemperature: 0 - m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} - m_UseBoundingSphereOverride: 0 - m_ShadowRadius: 0 - m_ShadowAngle: 0 ---- !u!4 &1339018128 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, - type: 2} - m_PrefabInstance: {fileID: 1398687468} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1339018126} - m_LocalRotation: {x: -0.8567529, y: 0.3769421, z: -0.24336958, w: -0.25428426} - m_LocalPosition: {x: -0.9961195, y: 2.05728, z: -0.18584895} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1398687468 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 100000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalPosition.x - value: -.996119499 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalPosition.y - value: 2.05728006 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalPosition.z - value: -.185848951 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalRotation.w - value: -.254284263 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalRotation.x - value: -.856752872 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalRotation.y - value: .376942098 - objectReference: {fileID: 0} - - target: {fileID: 400000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_LocalRotation.z - value: -.243369579 - objectReference: {fileID: 0} - - target: {fileID: 10800000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_Intensity - value: 1.370351 - objectReference: {fileID: 0} - - target: {fileID: 10800000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} - propertyPath: m_CullingMask.m_Bits - value: 4294967295 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: b76c71a1e3f6c4fdab657f4fbf5466de, type: 2} --- !u!1 &1799658845 GameObject: m_ObjectHideFlags: 0 @@ -554,7 +410,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 0} + - {fileID: 2100000, guid: 8e7cde1d68e9cca4088d3bf1296caf88, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -610,5 +466,5 @@ Transform: m_Children: - {fileID: 302869080} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/UnityChan/Scenes/test.unity b/Assets/UnityChan/Scenes/test.unity new file mode 100644 index 00000000..5c387503 --- /dev/null +++ b/Assets/UnityChan/Scenes/test.unity @@ -0,0 +1,559 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &694691997 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 694692000} + - component: {fileID: 694691999} + - component: {fileID: 694691998} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &694691998 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 694691997} + m_Enabled: 1 +--- !u!20 &694691999 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 694691997} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &694692000 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 694691997} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1156618203 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1156618204} + m_Layer: 0 + m_Name: LookAtObj + m_TagString: Watcher + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1156618204 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1156618203} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.042236686, y: 2.397, z: 1.923} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1858606167} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1676388945 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 100218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_Name + value: unitychan_hw + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 400218, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9500000, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + propertyPath: m_Enabled + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: + - {fileID: 398217867375421273, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + - {fileID: 1649152467941312184, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: 5d037042d9a55c74981b5d7a00780227, type: 3} +--- !u!1 &1729532655 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1729532657} + - component: {fileID: 1729532656} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1729532656 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1729532655} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 1 + m_Shape: 0 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1729532657 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1729532655} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &1858606166 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1858606167} + - component: {fileID: 1858606170} + - component: {fileID: 1858606169} + - component: {fileID: 1858606168} + m_Layer: 0 + m_Name: Sphere + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1858606167 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1858606166} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: [] + m_Father: {fileID: 1156618204} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!135 &1858606168 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1858606166} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1858606169 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1858606166} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &1858606170 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1858606166} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1001 &3632826537500637303 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352006, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3632826538578352007, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: lookAtTarget + value: + objectReference: {fileID: 1156618203} + - target: {fileID: 3632826538578352024, guid: 820bfee784472a441a3ee53c2cf826be, + type: 3} + propertyPath: m_Name + value: LookAtManager + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 820bfee784472a441a3ee53c2cf826be, type: 3} diff --git a/Assets/UnityChan/Scenes/test.unity.meta b/Assets/UnityChan/Scenes/test.unity.meta new file mode 100644 index 00000000..8b5cc6e0 --- /dev/null +++ b/Assets/UnityChan/Scenes/test.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 87030546d432a00418f9dcedbe9e450a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UnityChan/Scripts/IKLookAt.cs b/Assets/UnityChan/Scripts/IKLookAt.cs new file mode 100644 index 00000000..079d9cf0 --- /dev/null +++ b/Assets/UnityChan/Scripts/IKLookAt.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.Windows.WebCam; + +namespace UnityChan +{ + public class IKLookAt : MonoBehaviour, ILookAt + { + + public Animator animator; + + [Range(0.0f, 1.0f)] public float bodyWeight = 0.0f; + [Range(0.0f, 1.0f)] public float headWeight = 0.4f; + [Range(0.0f, 1.0f)] public float clampWeight = 0.3f; + + [Range(0.1f, 1.0f)] public float transitionSec = 1.0f; + + private GameObject _watchingObject; + private bool _isFaceTrackingActive; + + public float _currentWeight = 0.0f; + private float _lastLookAtStateChangedTime; + + void Start() + { + var manager = GameObject.Find("LookAtManager"); + if (manager != null) + { + var lkMgr = manager.GetComponent(); + lkMgr.Register(this); + } + } + + void Update() + { + + } + + float QuadInOut(float t) + { + return (1 - Mathf.Pow(1 - Mathf.Abs(t * 2 - 1), 2)) * Mathf.Sign(t - 0.5f) / 2 + 0.5f; + } + private void OnDestroy() + { + var manager = GameObject.Find("LookAtManager"); + if (manager == null) return; + var lkMgr = manager.GetComponent(); + lkMgr.Unregister(this); + } + + public void EnableLookAt(bool lookAtEnabled, GameObject obj) + { + if (_isFaceTrackingActive != lookAtEnabled) + { + _lastLookAtStateChangedTime = Time.time; + } + + _isFaceTrackingActive = lookAtEnabled; + _watchingObject = obj; + } + + private void OnAnimatorIK(int layerIndex) + { + var weight = QuadInOut(Mathf.Clamp01((Time.time - _lastLookAtStateChangedTime)/transitionSec)); + _currentWeight = _isFaceTrackingActive ? weight : 1.0f - weight; + + animator.SetLookAtWeight(_currentWeight, bodyWeight, headWeight, 0.0f, clampWeight); + + if (_watchingObject != null) + { + animator.SetLookAtPosition(_watchingObject.transform.position); + } + } + } +} \ No newline at end of file diff --git a/Assets/UnityChan/Scripts/IKLookAt.cs.meta b/Assets/UnityChan/Scripts/IKLookAt.cs.meta new file mode 100644 index 00000000..05a15949 --- /dev/null +++ b/Assets/UnityChan/Scripts/IKLookAt.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 208da3d971ea6b348867ca12cca26ad7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UnityChan/Scripts/ILookAt.cs b/Assets/UnityChan/Scripts/ILookAt.cs new file mode 100644 index 00000000..20accbfc --- /dev/null +++ b/Assets/UnityChan/Scripts/ILookAt.cs @@ -0,0 +1,9 @@ +using UnityEngine; + +namespace UnityChan +{ + public interface ILookAt + { + void EnableLookAt(bool lookAtEnabled, GameObject obj); + } +} diff --git a/Assets/UnityChan/Scripts/ILookAt.cs.meta b/Assets/UnityChan/Scripts/ILookAt.cs.meta new file mode 100644 index 00000000..69fc8171 --- /dev/null +++ b/Assets/UnityChan/Scripts/ILookAt.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 239f799e14dacda499ac3c29bdeaf620 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UnityChan/Scripts/LookAtManager.cs b/Assets/UnityChan/Scripts/LookAtManager.cs new file mode 100644 index 00000000..cc0fa8c7 --- /dev/null +++ b/Assets/UnityChan/Scripts/LookAtManager.cs @@ -0,0 +1,45 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace UnityChan +{ + public class LookAtManager : MonoBehaviour + { + public GameObject lookAtTarget; + private bool _lookAtEnabled = true; + + private List _subscribers; + + public void LookAtEnabled(bool lookAtEnabled) + { + _lookAtEnabled = lookAtEnabled; + if (_subscribers == null) + { + _subscribers = new List(); + } + + foreach (var obj in _subscribers) + { + obj.EnableLookAt(_lookAtEnabled, lookAtTarget); + } + + Debug.Log("[LookAt Event]:" + _lookAtEnabled + " subscriber:" + _subscribers.Count); + } + + public void Register(ILookAt obj) + { + if (_subscribers == null) + { + _subscribers = new List(); + } + _subscribers.Add(obj); + obj.EnableLookAt(_lookAtEnabled, lookAtTarget); + } + + public void Unregister(ILookAt obj) + { + _subscribers.Remove(obj); + } + } +} \ No newline at end of file diff --git a/Assets/UnityChan/Scripts/LookAtManager.cs.meta b/Assets/UnityChan/Scripts/LookAtManager.cs.meta new file mode 100644 index 00000000..fe472149 --- /dev/null +++ b/Assets/UnityChan/Scripts/LookAtManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 270c2ea69dab95f4886ad7338969d875 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: