Unity3d Official Tutorial
https://learn.unity.com/pathways
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
266 lines
7.0 KiB
266 lines
7.0 KiB
1 year ago
|
%YAML 1.1
|
||
|
%TAG !u! tag:unity3d.com,2011:
|
||
|
--- !u!1102 &-4016101851231242391
|
||
|
AnimatorState:
|
||
|
serializedVersion: 5
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: Idle
|
||
|
m_Speed: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_Transitions:
|
||
|
- {fileID: 1950668891303753116}
|
||
|
m_StateMachineBehaviours: []
|
||
|
m_Position: {x: 50, y: 50, 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: -2988165611872984268}
|
||
|
m_Tag:
|
||
|
m_SpeedParameter:
|
||
|
m_MirrorParameter:
|
||
|
m_CycleOffsetParameter:
|
||
|
m_TimeParameter:
|
||
|
--- !u!206 &-2988165611872984268
|
||
|
BlendTree:
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: Blend Tree
|
||
|
m_Childs:
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 115296b291a3602499062ca877a7ffa8, type: 2}
|
||
|
m_Threshold: 0
|
||
|
m_Position: {x: 0.5, y: 0}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 5878a4fad82aa174eab7295baf7c4e47, type: 2}
|
||
|
m_Threshold: 0.33333334
|
||
|
m_Position: {x: -0.5, y: 0}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 5629eb0808042fd46926bd41d9a921a3, type: 2}
|
||
|
m_Threshold: 0.6666667
|
||
|
m_Position: {x: 0, y: 0.5}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: a62e01e5166af5d4cbebc0225ed74825, type: 2}
|
||
|
m_Threshold: 1
|
||
|
m_Position: {x: 0, y: -0.5}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
m_BlendParameter: Look X
|
||
|
m_BlendParameterY: Look Y
|
||
|
m_MinThreshold: 0
|
||
|
m_MaxThreshold: 1
|
||
|
m_UseAutomaticThresholds: 1
|
||
|
m_NormalizedBlendValues: 0
|
||
|
m_BlendType: 1
|
||
|
--- !u!1101 &-2172205050793655251
|
||
|
AnimatorStateTransition:
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name:
|
||
|
m_Conditions:
|
||
|
- m_ConditionMode: 4
|
||
|
m_ConditionEvent: Speed
|
||
|
m_EventTreshold: 0.1
|
||
|
m_DstStateMachine: {fileID: 0}
|
||
|
m_DstState: {fileID: -4016101851231242391}
|
||
|
m_Solo: 0
|
||
|
m_Mute: 0
|
||
|
m_IsExit: 0
|
||
|
serializedVersion: 3
|
||
|
m_TransitionDuration: 0
|
||
|
m_TransitionOffset: 0
|
||
|
m_ExitTime: 0.75
|
||
|
m_HasExitTime: 0
|
||
|
m_HasFixedDuration: 1
|
||
|
m_InterruptionSource: 0
|
||
|
m_OrderedInterruption: 1
|
||
|
m_CanTransitionToSelf: 1
|
||
|
--- !u!1107 &-286993228852667354
|
||
|
AnimatorStateMachine:
|
||
|
serializedVersion: 5
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: Base Layer
|
||
|
m_ChildStates:
|
||
|
- serializedVersion: 1
|
||
|
m_State: {fileID: -4016101851231242391}
|
||
|
m_Position: {x: 270, y: 200, z: 0}
|
||
|
- serializedVersion: 1
|
||
|
m_State: {fileID: 5153742797245174948}
|
||
|
m_Position: {x: 540, y: 200, z: 0}
|
||
|
m_ChildStateMachines: []
|
||
|
m_AnyStateTransitions: []
|
||
|
m_EntryTransitions: []
|
||
|
m_StateMachineTransitions: {}
|
||
|
m_StateMachineBehaviours: []
|
||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||
|
m_EntryPosition: {x: 20, y: 210, z: 0}
|
||
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||
|
m_DefaultState: {fileID: -4016101851231242391}
|
||
|
--- !u!91 &9100000
|
||
|
AnimatorController:
|
||
|
m_ObjectHideFlags: 0
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: TopDownController
|
||
|
serializedVersion: 5
|
||
|
m_AnimatorParameters:
|
||
|
- m_Name: Speed
|
||
|
m_Type: 1
|
||
|
m_DefaultFloat: 0
|
||
|
m_DefaultInt: 0
|
||
|
m_DefaultBool: 0
|
||
|
m_Controller: {fileID: 0}
|
||
|
- m_Name: Look X
|
||
|
m_Type: 1
|
||
|
m_DefaultFloat: 0
|
||
|
m_DefaultInt: 0
|
||
|
m_DefaultBool: 0
|
||
|
m_Controller: {fileID: 0}
|
||
|
- m_Name: Look Y
|
||
|
m_Type: 1
|
||
|
m_DefaultFloat: 0
|
||
|
m_DefaultInt: 0
|
||
|
m_DefaultBool: 0
|
||
|
m_Controller: {fileID: 0}
|
||
|
m_AnimatorLayers:
|
||
|
- serializedVersion: 5
|
||
|
m_Name: Base Layer
|
||
|
m_StateMachine: {fileID: -286993228852667354}
|
||
|
m_Mask: {fileID: 0}
|
||
|
m_Motions: []
|
||
|
m_Behaviours: []
|
||
|
m_BlendingMode: 0
|
||
|
m_SyncedLayerIndex: -1
|
||
|
m_DefaultWeight: 0
|
||
|
m_IKPass: 0
|
||
|
m_SyncedLayerAffectsTiming: 0
|
||
|
m_Controller: {fileID: 9100000}
|
||
|
--- !u!206 &1287301769035435586
|
||
|
BlendTree:
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: Blend Tree
|
||
|
m_Childs:
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 59775dd89bc9ef848a1b293d9c7506ee, type: 2}
|
||
|
m_Threshold: 0
|
||
|
m_Position: {x: 0.5, y: 0}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 553ea347d9f4b4140b6636b390a516c9, type: 2}
|
||
|
m_Threshold: 0.33333334
|
||
|
m_Position: {x: -0.5, y: 0}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: 79c9d7b4da4844b4eba9060c1adefbee, type: 2}
|
||
|
m_Threshold: 0.6666667
|
||
|
m_Position: {x: 0, y: 0.5}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
- serializedVersion: 2
|
||
|
m_Motion: {fileID: 7400000, guid: fd3666e0ef261a5469c64d2076dc1f0a, type: 2}
|
||
|
m_Threshold: 1
|
||
|
m_Position: {x: 0, y: -0.5}
|
||
|
m_TimeScale: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_DirectBlendParameter: Speed
|
||
|
m_Mirror: 0
|
||
|
m_BlendParameter: Look X
|
||
|
m_BlendParameterY: Look Y
|
||
|
m_MinThreshold: 0
|
||
|
m_MaxThreshold: 1
|
||
|
m_UseAutomaticThresholds: 1
|
||
|
m_NormalizedBlendValues: 0
|
||
|
m_BlendType: 1
|
||
|
--- !u!1101 &1950668891303753116
|
||
|
AnimatorStateTransition:
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name:
|
||
|
m_Conditions:
|
||
|
- m_ConditionMode: 3
|
||
|
m_ConditionEvent: Speed
|
||
|
m_EventTreshold: 0.1
|
||
|
m_DstStateMachine: {fileID: 0}
|
||
|
m_DstState: {fileID: 5153742797245174948}
|
||
|
m_Solo: 0
|
||
|
m_Mute: 0
|
||
|
m_IsExit: 0
|
||
|
serializedVersion: 3
|
||
|
m_TransitionDuration: 0
|
||
|
m_TransitionOffset: 0
|
||
|
m_ExitTime: 0.75
|
||
|
m_HasExitTime: 0
|
||
|
m_HasFixedDuration: 1
|
||
|
m_InterruptionSource: 0
|
||
|
m_OrderedInterruption: 1
|
||
|
m_CanTransitionToSelf: 1
|
||
|
--- !u!1102 &5153742797245174948
|
||
|
AnimatorState:
|
||
|
serializedVersion: 5
|
||
|
m_ObjectHideFlags: 1
|
||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||
|
m_PrefabInstance: {fileID: 0}
|
||
|
m_PrefabAsset: {fileID: 0}
|
||
|
m_Name: Move
|
||
|
m_Speed: 1
|
||
|
m_CycleOffset: 0
|
||
|
m_Transitions:
|
||
|
- {fileID: -2172205050793655251}
|
||
|
m_StateMachineBehaviours: []
|
||
|
m_Position: {x: 50, y: 50, 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: 1287301769035435586}
|
||
|
m_Tag:
|
||
|
m_SpeedParameter:
|
||
|
m_MirrorParameter:
|
||
|
m_CycleOffsetParameter:
|
||
|
m_TimeParameter:
|