IdleAndWalk.controller 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!1107 &-8854916091159432621
  4. AnimatorStateMachine:
  5. serializedVersion: 6
  6. m_ObjectHideFlags: 1
  7. m_CorrespondingSourceObject: {fileID: 0}
  8. m_PrefabInstance: {fileID: 0}
  9. m_PrefabAsset: {fileID: 0}
  10. m_Name: Base Layer
  11. m_ChildStates:
  12. - serializedVersion: 1
  13. m_State: {fileID: -7682043112502266958}
  14. m_Position: {x: 300, y: -30, z: 0}
  15. - serializedVersion: 1
  16. m_State: {fileID: 798990796592105885}
  17. m_Position: {x: 300, y: 60, z: 0}
  18. m_ChildStateMachines: []
  19. m_AnyStateTransitions: []
  20. m_EntryTransitions: []
  21. m_StateMachineTransitions: {}
  22. m_StateMachineBehaviours: []
  23. m_AnyStatePosition: {x: 70, y: -160, z: 0}
  24. m_EntryPosition: {x: 320, y: -120, z: 0}
  25. m_ExitPosition: {x: 70, y: -120, z: 0}
  26. m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
  27. m_DefaultState: {fileID: -7682043112502266958}
  28. --- !u!1102 &-7682043112502266958
  29. AnimatorState:
  30. serializedVersion: 6
  31. m_ObjectHideFlags: 1
  32. m_CorrespondingSourceObject: {fileID: 0}
  33. m_PrefabInstance: {fileID: 0}
  34. m_PrefabAsset: {fileID: 0}
  35. m_Name: Idle
  36. m_Speed: 1
  37. m_CycleOffset: 0
  38. m_Transitions:
  39. - {fileID: -5768963856436979948}
  40. m_StateMachineBehaviours: []
  41. m_Position: {x: 50, y: 50, z: 0}
  42. m_IKOnFeet: 1
  43. m_WriteDefaultValues: 1
  44. m_Mirror: 0
  45. m_SpeedParameterActive: 0
  46. m_MirrorParameterActive: 0
  47. m_CycleOffsetParameterActive: 0
  48. m_TimeParameterActive: 0
  49. m_Motion: {fileID: 7400002, guid: a3422ad278cd9a94aa3da8e6bff9deea, type: 3}
  50. m_Tag:
  51. m_SpeedParameter:
  52. m_MirrorParameter: isWalking
  53. m_CycleOffsetParameter:
  54. m_TimeParameter:
  55. --- !u!1101 &-5768963856436979948
  56. AnimatorStateTransition:
  57. m_ObjectHideFlags: 1
  58. m_CorrespondingSourceObject: {fileID: 0}
  59. m_PrefabInstance: {fileID: 0}
  60. m_PrefabAsset: {fileID: 0}
  61. m_Name:
  62. m_Conditions:
  63. - m_ConditionMode: 2
  64. m_ConditionEvent: isIdle
  65. m_EventTreshold: 0
  66. - m_ConditionMode: 1
  67. m_ConditionEvent: isWalking
  68. m_EventTreshold: 0
  69. m_DstStateMachine: {fileID: 0}
  70. m_DstState: {fileID: 798990796592105885}
  71. m_Solo: 0
  72. m_Mute: 0
  73. m_IsExit: 0
  74. serializedVersion: 3
  75. m_TransitionDuration: 0.25
  76. m_TransitionOffset: 0
  77. m_ExitTime: 0.91573036
  78. m_HasExitTime: 0
  79. m_HasFixedDuration: 1
  80. m_InterruptionSource: 0
  81. m_OrderedInterruption: 1
  82. m_CanTransitionToSelf: 1
  83. --- !u!1101 &-5766212908633719928
  84. AnimatorStateTransition:
  85. m_ObjectHideFlags: 1
  86. m_CorrespondingSourceObject: {fileID: 0}
  87. m_PrefabInstance: {fileID: 0}
  88. m_PrefabAsset: {fileID: 0}
  89. m_Name:
  90. m_Conditions: []
  91. m_DstStateMachine: {fileID: 0}
  92. m_DstState: {fileID: 6069181449877994096}
  93. m_Solo: 0
  94. m_Mute: 0
  95. m_IsExit: 0
  96. serializedVersion: 3
  97. m_TransitionDuration: 0.40683007
  98. m_TransitionOffset: 0
  99. m_ExitTime: 0.945578
  100. m_HasExitTime: 1
  101. m_HasFixedDuration: 1
  102. m_InterruptionSource: 0
  103. m_OrderedInterruption: 1
  104. m_CanTransitionToSelf: 1
  105. --- !u!1101 &-5287928994199675204
  106. AnimatorStateTransition:
  107. m_ObjectHideFlags: 1
  108. m_CorrespondingSourceObject: {fileID: 0}
  109. m_PrefabInstance: {fileID: 0}
  110. m_PrefabAsset: {fileID: 0}
  111. m_Name:
  112. m_Conditions: []
  113. m_DstStateMachine: {fileID: 0}
  114. m_DstState: {fileID: 5233249855731819231}
  115. m_Solo: 0
  116. m_Mute: 0
  117. m_IsExit: 0
  118. serializedVersion: 3
  119. m_TransitionDuration: 0.22431695
  120. m_TransitionOffset: 0
  121. m_ExitTime: 0.93603325
  122. m_HasExitTime: 1
  123. m_HasFixedDuration: 1
  124. m_InterruptionSource: 0
  125. m_OrderedInterruption: 1
  126. m_CanTransitionToSelf: 1
  127. --- !u!1101 &-3499502682562208622
  128. AnimatorStateTransition:
  129. m_ObjectHideFlags: 1
  130. m_CorrespondingSourceObject: {fileID: 0}
  131. m_PrefabInstance: {fileID: 0}
  132. m_PrefabAsset: {fileID: 0}
  133. m_Name:
  134. m_Conditions:
  135. - m_ConditionMode: 1
  136. m_ConditionEvent: isIdle
  137. m_EventTreshold: 0
  138. - m_ConditionMode: 2
  139. m_ConditionEvent: isWalking
  140. m_EventTreshold: 0
  141. m_DstStateMachine: {fileID: 0}
  142. m_DstState: {fileID: -7682043112502266958}
  143. m_Solo: 0
  144. m_Mute: 0
  145. m_IsExit: 0
  146. serializedVersion: 3
  147. m_TransitionDuration: 0.25
  148. m_TransitionOffset: 0
  149. m_ExitTime: 0.6875
  150. m_HasExitTime: 0
  151. m_HasFixedDuration: 1
  152. m_InterruptionSource: 0
  153. m_OrderedInterruption: 1
  154. m_CanTransitionToSelf: 1
  155. --- !u!1102 &-1553193714488254709
  156. AnimatorState:
  157. serializedVersion: 6
  158. m_ObjectHideFlags: 1
  159. m_CorrespondingSourceObject: {fileID: 0}
  160. m_PrefabInstance: {fileID: 0}
  161. m_PrefabAsset: {fileID: 0}
  162. m_Name: Idle02
  163. m_Speed: 1
  164. m_CycleOffset: 0
  165. m_Transitions:
  166. - {fileID: -5766212908633719928}
  167. m_StateMachineBehaviours: []
  168. m_Position: {x: 50, y: 50, z: 0}
  169. m_IKOnFeet: 1
  170. m_WriteDefaultValues: 1
  171. m_Mirror: 0
  172. m_SpeedParameterActive: 0
  173. m_MirrorParameterActive: 0
  174. m_CycleOffsetParameterActive: 0
  175. m_TimeParameterActive: 0
  176. m_Motion: {fileID: 7400004, guid: 69d59c13a83a7c74a8cc0607ded391ec, type: 3}
  177. m_Tag:
  178. m_SpeedParameter:
  179. m_MirrorParameter:
  180. m_CycleOffsetParameter:
  181. m_TimeParameter:
  182. --- !u!91 &9100000
  183. AnimatorController:
  184. m_ObjectHideFlags: 0
  185. m_CorrespondingSourceObject: {fileID: 0}
  186. m_PrefabInstance: {fileID: 0}
  187. m_PrefabAsset: {fileID: 0}
  188. m_Name: IdleAndWalk
  189. serializedVersion: 5
  190. m_AnimatorParameters:
  191. - m_Name: isWalking
  192. m_Type: 4
  193. m_DefaultFloat: 0
  194. m_DefaultInt: 0
  195. m_DefaultBool: 0
  196. m_Controller: {fileID: 9100000}
  197. - m_Name: isIdle
  198. m_Type: 4
  199. m_DefaultFloat: 0
  200. m_DefaultInt: 0
  201. m_DefaultBool: 0
  202. m_Controller: {fileID: 9100000}
  203. m_AnimatorLayers:
  204. - serializedVersion: 5
  205. m_Name: Base Layer
  206. m_StateMachine: {fileID: -8854916091159432621}
  207. m_Mask: {fileID: 0}
  208. m_Motions: []
  209. m_Behaviours: []
  210. m_BlendingMode: 0
  211. m_SyncedLayerIndex: -1
  212. m_DefaultWeight: 0
  213. m_IKPass: 0
  214. m_SyncedLayerAffectsTiming: 0
  215. m_Controller: {fileID: 9100000}
  216. --- !u!1102 &798990796592105885
  217. AnimatorState:
  218. serializedVersion: 6
  219. m_ObjectHideFlags: 1
  220. m_CorrespondingSourceObject: {fileID: 0}
  221. m_PrefabInstance: {fileID: 0}
  222. m_PrefabAsset: {fileID: 0}
  223. m_Name: Walk
  224. m_Speed: 1
  225. m_CycleOffset: 0
  226. m_Transitions:
  227. - {fileID: -3499502682562208622}
  228. m_StateMachineBehaviours: []
  229. m_Position: {x: 50, y: 50, z: 0}
  230. m_IKOnFeet: 1
  231. m_WriteDefaultValues: 1
  232. m_Mirror: 0
  233. m_SpeedParameterActive: 0
  234. m_MirrorParameterActive: 0
  235. m_CycleOffsetParameterActive: 0
  236. m_TimeParameterActive: 0
  237. m_Motion: {fileID: 7400048, guid: 0536f044bd409ff419dd726bc69d2676, type: 3}
  238. m_Tag:
  239. m_SpeedParameter: direction
  240. m_MirrorParameter:
  241. m_CycleOffsetParameter:
  242. m_TimeParameter:
  243. --- !u!1102 &5233249855731819231
  244. AnimatorState:
  245. serializedVersion: 6
  246. m_ObjectHideFlags: 1
  247. m_CorrespondingSourceObject: {fileID: 0}
  248. m_PrefabInstance: {fileID: 0}
  249. m_PrefabAsset: {fileID: 0}
  250. m_Name: Idle01
  251. m_Speed: 1
  252. m_CycleOffset: 0
  253. m_Transitions:
  254. - {fileID: 9052224636625374453}
  255. m_StateMachineBehaviours: []
  256. m_Position: {x: 50, y: 50, z: 0}
  257. m_IKOnFeet: 1
  258. m_WriteDefaultValues: 1
  259. m_Mirror: 0
  260. m_SpeedParameterActive: 0
  261. m_MirrorParameterActive: 0
  262. m_CycleOffsetParameterActive: 0
  263. m_TimeParameterActive: 0
  264. m_Motion: {fileID: 7400002, guid: a3422ad278cd9a94aa3da8e6bff9deea, type: 3}
  265. m_Tag:
  266. m_SpeedParameter:
  267. m_MirrorParameter:
  268. m_CycleOffsetParameter:
  269. m_TimeParameter:
  270. --- !u!1102 &5691396717340520525
  271. AnimatorState:
  272. serializedVersion: 6
  273. m_ObjectHideFlags: 1
  274. m_CorrespondingSourceObject: {fileID: 0}
  275. m_PrefabInstance: {fileID: 0}
  276. m_PrefabAsset: {fileID: 0}
  277. m_Name: To Idle02
  278. m_Speed: 1
  279. m_CycleOffset: 0
  280. m_Transitions:
  281. - {fileID: 6354957135073611099}
  282. m_StateMachineBehaviours: []
  283. m_Position: {x: 50, y: 50, z: 0}
  284. m_IKOnFeet: 1
  285. m_WriteDefaultValues: 1
  286. m_Mirror: 0
  287. m_SpeedParameterActive: 0
  288. m_MirrorParameterActive: 0
  289. m_CycleOffsetParameterActive: 0
  290. m_TimeParameterActive: 0
  291. m_Motion: {fileID: 7400004, guid: a3422ad278cd9a94aa3da8e6bff9deea, type: 3}
  292. m_Tag:
  293. m_SpeedParameter:
  294. m_MirrorParameter:
  295. m_CycleOffsetParameter:
  296. m_TimeParameter:
  297. --- !u!1102 &6069181449877994096
  298. AnimatorState:
  299. serializedVersion: 6
  300. m_ObjectHideFlags: 1
  301. m_CorrespondingSourceObject: {fileID: 0}
  302. m_PrefabInstance: {fileID: 0}
  303. m_PrefabAsset: {fileID: 0}
  304. m_Name: To Idle01
  305. m_Speed: 1
  306. m_CycleOffset: 0
  307. m_Transitions:
  308. - {fileID: -5287928994199675204}
  309. m_StateMachineBehaviours: []
  310. m_Position: {x: 50, y: 50, z: 0}
  311. m_IKOnFeet: 1
  312. m_WriteDefaultValues: 1
  313. m_Mirror: 0
  314. m_SpeedParameterActive: 0
  315. m_MirrorParameterActive: 0
  316. m_CycleOffsetParameterActive: 0
  317. m_TimeParameterActive: 0
  318. m_Motion: {fileID: 7400002, guid: 69d59c13a83a7c74a8cc0607ded391ec, type: 3}
  319. m_Tag:
  320. m_SpeedParameter:
  321. m_MirrorParameter:
  322. m_CycleOffsetParameter:
  323. m_TimeParameter:
  324. --- !u!1101 &6354957135073611099
  325. AnimatorStateTransition:
  326. m_ObjectHideFlags: 1
  327. m_CorrespondingSourceObject: {fileID: 0}
  328. m_PrefabInstance: {fileID: 0}
  329. m_PrefabAsset: {fileID: 0}
  330. m_Name:
  331. m_Conditions: []
  332. m_DstStateMachine: {fileID: 0}
  333. m_DstState: {fileID: -1553193714488254709}
  334. m_Solo: 0
  335. m_Mute: 0
  336. m_IsExit: 0
  337. serializedVersion: 3
  338. m_TransitionDuration: 0.5504533
  339. m_TransitionOffset: 0
  340. m_ExitTime: 0.76859516
  341. m_HasExitTime: 1
  342. m_HasFixedDuration: 1
  343. m_InterruptionSource: 0
  344. m_OrderedInterruption: 1
  345. m_CanTransitionToSelf: 1
  346. --- !u!1101 &9052224636625374453
  347. AnimatorStateTransition:
  348. m_ObjectHideFlags: 1
  349. m_CorrespondingSourceObject: {fileID: 0}
  350. m_PrefabInstance: {fileID: 0}
  351. m_PrefabAsset: {fileID: 0}
  352. m_Name:
  353. m_Conditions: []
  354. m_DstStateMachine: {fileID: 0}
  355. m_DstState: {fileID: 5691396717340520525}
  356. m_Solo: 0
  357. m_Mute: 0
  358. m_IsExit: 0
  359. serializedVersion: 3
  360. m_TransitionDuration: 0.4105277
  361. m_TransitionOffset: 0
  362. m_ExitTime: 0.9304453
  363. m_HasExitTime: 1
  364. m_HasFixedDuration: 1
  365. m_InterruptionSource: 0
  366. m_OrderedInterruption: 1
  367. m_CanTransitionToSelf: 1