all repos — RPG @ 9639697424c1e8744f7291270ed4fcc647c4eee7

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Models/Ganfaul/BattleGanfaulAnimator.controller (view raw)

  1%YAML 1.1
  2%TAG !u! tag:unity3d.com,2011:
  3--- !u!1101 &-9036027080510962530
  4AnimatorStateTransition:
  5  m_ObjectHideFlags: 1
  6  m_CorrespondingSourceObject: {fileID: 0}
  7  m_PrefabInstance: {fileID: 0}
  8  m_PrefabAsset: {fileID: 0}
  9  m_Name: 
 10  m_Conditions: []
 11  m_DstStateMachine: {fileID: 0}
 12  m_DstState: {fileID: -4192269787200457927}
 13  m_Solo: 0
 14  m_Mute: 0
 15  m_IsExit: 0
 16  serializedVersion: 3
 17  m_TransitionDuration: 0.25
 18  m_TransitionOffset: 0
 19  m_ExitTime: 0.90625
 20  m_HasExitTime: 1
 21  m_HasFixedDuration: 1
 22  m_InterruptionSource: 0
 23  m_OrderedInterruption: 1
 24  m_CanTransitionToSelf: 1
 25--- !u!1102 &-7399000304974151475
 26AnimatorState:
 27  serializedVersion: 5
 28  m_ObjectHideFlags: 1
 29  m_CorrespondingSourceObject: {fileID: 0}
 30  m_PrefabInstance: {fileID: 0}
 31  m_PrefabAsset: {fileID: 0}
 32  m_Name: Attack
 33  m_Speed: 1
 34  m_CycleOffset: 0
 35  m_Transitions:
 36  - {fileID: -2218783228185989829}
 37  m_StateMachineBehaviours: []
 38  m_Position: {x: 50, y: 50, z: 0}
 39  m_IKOnFeet: 0
 40  m_WriteDefaultValues: 1
 41  m_Mirror: 0
 42  m_SpeedParameterActive: 0
 43  m_MirrorParameterActive: 0
 44  m_CycleOffsetParameterActive: 0
 45  m_TimeParameterActive: 0
 46  m_Motion: {fileID: -203655887218126122, guid: 71b8c56bed318cc40bb8bf1ec528407b,
 47    type: 3}
 48  m_Tag: 
 49  m_SpeedParameter: 
 50  m_MirrorParameter: 
 51  m_CycleOffsetParameter: 
 52  m_TimeParameter: 
 53--- !u!1102 &-6824626627819401560
 54AnimatorState:
 55  serializedVersion: 5
 56  m_ObjectHideFlags: 1
 57  m_CorrespondingSourceObject: {fileID: 0}
 58  m_PrefabInstance: {fileID: 0}
 59  m_PrefabAsset: {fileID: 0}
 60  m_Name: Damage
 61  m_Speed: 1
 62  m_CycleOffset: 0
 63  m_Transitions:
 64  - {fileID: 3893133945737907823}
 65  m_StateMachineBehaviours: []
 66  m_Position: {x: 50, y: 50, z: 0}
 67  m_IKOnFeet: 0
 68  m_WriteDefaultValues: 1
 69  m_Mirror: 0
 70  m_SpeedParameterActive: 0
 71  m_MirrorParameterActive: 0
 72  m_CycleOffsetParameterActive: 0
 73  m_TimeParameterActive: 0
 74  m_Motion: {fileID: -203655887218126122, guid: b59af3b690d46c64a83503d166c21902,
 75    type: 3}
 76  m_Tag: 
 77  m_SpeedParameter: 
 78  m_MirrorParameter: 
 79  m_CycleOffsetParameter: 
 80  m_TimeParameter: 
 81--- !u!1101 &-5928301695960046679
 82AnimatorStateTransition:
 83  m_ObjectHideFlags: 1
 84  m_CorrespondingSourceObject: {fileID: 0}
 85  m_PrefabInstance: {fileID: 0}
 86  m_PrefabAsset: {fileID: 0}
 87  m_Name: 
 88  m_Conditions:
 89  - m_ConditionMode: 1
 90    m_ConditionEvent: Heal
 91    m_EventTreshold: 0
 92  m_DstStateMachine: {fileID: 0}
 93  m_DstState: {fileID: 4895399887070682954}
 94  m_Solo: 0
 95  m_Mute: 0
 96  m_IsExit: 0
 97  serializedVersion: 3
 98  m_TransitionDuration: 0.25
 99  m_TransitionOffset: 0
100  m_ExitTime: 0.8863636
101  m_HasExitTime: 0
102  m_HasFixedDuration: 1
103  m_InterruptionSource: 0
104  m_OrderedInterruption: 1
105  m_CanTransitionToSelf: 1
106--- !u!1101 &-5752213069097235149
107AnimatorStateTransition:
108  m_ObjectHideFlags: 1
109  m_CorrespondingSourceObject: {fileID: 0}
110  m_PrefabInstance: {fileID: 0}
111  m_PrefabAsset: {fileID: 0}
112  m_Name: 
113  m_Conditions:
114  - m_ConditionMode: 1
115    m_ConditionEvent: Dead
116    m_EventTreshold: 0
117  m_DstStateMachine: {fileID: 0}
118  m_DstState: {fileID: 8601915139413588362}
119  m_Solo: 0
120  m_Mute: 0
121  m_IsExit: 0
122  serializedVersion: 3
123  m_TransitionDuration: 0.25
124  m_TransitionOffset: 0
125  m_ExitTime: 0.8863636
126  m_HasExitTime: 0
127  m_HasFixedDuration: 1
128  m_InterruptionSource: 0
129  m_OrderedInterruption: 1
130  m_CanTransitionToSelf: 1
131--- !u!1107 &-4202403341379912161
132AnimatorStateMachine:
133  serializedVersion: 5
134  m_ObjectHideFlags: 1
135  m_CorrespondingSourceObject: {fileID: 0}
136  m_PrefabInstance: {fileID: 0}
137  m_PrefabAsset: {fileID: 0}
138  m_Name: Base Layer
139  m_ChildStates:
140  - serializedVersion: 1
141    m_State: {fileID: -4192269787200457927}
142    m_Position: {x: 30, y: 200, z: 0}
143  - serializedVersion: 1
144    m_State: {fileID: 8601915139413588362}
145    m_Position: {x: 310, y: 300, z: 0}
146  - serializedVersion: 1
147    m_State: {fileID: -7399000304974151475}
148    m_Position: {x: 30, y: 330, z: 0}
149  - serializedVersion: 1
150    m_State: {fileID: -6824626627819401560}
151    m_Position: {x: 400, y: 200, z: 0}
152  - serializedVersion: 1
153    m_State: {fileID: 1803938447303446115}
154    m_Position: {x: 130, y: 30, z: 0}
155  - serializedVersion: 1
156    m_State: {fileID: 4895399887070682954}
157    m_Position: {x: -230, y: 200, z: 0}
158  m_ChildStateMachines: []
159  m_AnyStateTransitions: []
160  m_EntryTransitions: []
161  m_StateMachineTransitions: {}
162  m_StateMachineBehaviours: []
163  m_AnyStatePosition: {x: 260, y: 130, z: 0}
164  m_EntryPosition: {x: 50, y: -90, z: 0}
165  m_ExitPosition: {x: 800, y: 120, z: 0}
166  m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
167  m_DefaultState: {fileID: -4192269787200457927}
168--- !u!1102 &-4192269787200457927
169AnimatorState:
170  serializedVersion: 5
171  m_ObjectHideFlags: 1
172  m_CorrespondingSourceObject: {fileID: 0}
173  m_PrefabInstance: {fileID: 0}
174  m_PrefabAsset: {fileID: 0}
175  m_Name: Idle
176  m_Speed: 1
177  m_CycleOffset: 0
178  m_Transitions:
179  - {fileID: -4016691975711611350}
180  - {fileID: 5904894134154437717}
181  - {fileID: -3278936459766047551}
182  - {fileID: -5752213069097235149}
183  - {fileID: -5928301695960046679}
184  m_StateMachineBehaviours: []
185  m_Position: {x: 50, y: 50, z: 0}
186  m_IKOnFeet: 0
187  m_WriteDefaultValues: 1
188  m_Mirror: 0
189  m_SpeedParameterActive: 0
190  m_MirrorParameterActive: 0
191  m_CycleOffsetParameterActive: 0
192  m_TimeParameterActive: 0
193  m_Motion: {fileID: -203655887218126122, guid: 393363ac3a63eb844830292af19d61d2,
194    type: 3}
195  m_Tag: 
196  m_SpeedParameter: 
197  m_MirrorParameter: 
198  m_CycleOffsetParameter: 
199  m_TimeParameter: 
200--- !u!1101 &-4016691975711611350
201AnimatorStateTransition:
202  m_ObjectHideFlags: 1
203  m_CorrespondingSourceObject: {fileID: 0}
204  m_PrefabInstance: {fileID: 0}
205  m_PrefabAsset: {fileID: 0}
206  m_Name: 
207  m_Conditions:
208  - m_ConditionMode: 1
209    m_ConditionEvent: MagicAttack
210    m_EventTreshold: 0
211  m_DstStateMachine: {fileID: 0}
212  m_DstState: {fileID: 1803938447303446115}
213  m_Solo: 0
214  m_Mute: 0
215  m_IsExit: 0
216  serializedVersion: 3
217  m_TransitionDuration: 0.25
218  m_TransitionOffset: 0
219  m_ExitTime: 0.8863636
220  m_HasExitTime: 0
221  m_HasFixedDuration: 1
222  m_InterruptionSource: 0
223  m_OrderedInterruption: 1
224  m_CanTransitionToSelf: 1
225--- !u!1101 &-3278936459766047551
226AnimatorStateTransition:
227  m_ObjectHideFlags: 1
228  m_CorrespondingSourceObject: {fileID: 0}
229  m_PrefabInstance: {fileID: 0}
230  m_PrefabAsset: {fileID: 0}
231  m_Name: 
232  m_Conditions:
233  - m_ConditionMode: 1
234    m_ConditionEvent: Damage
235    m_EventTreshold: 0
236  m_DstStateMachine: {fileID: 0}
237  m_DstState: {fileID: -6824626627819401560}
238  m_Solo: 0
239  m_Mute: 0
240  m_IsExit: 0
241  serializedVersion: 3
242  m_TransitionDuration: 0.25
243  m_TransitionOffset: 0
244  m_ExitTime: 0.8863636
245  m_HasExitTime: 0
246  m_HasFixedDuration: 1
247  m_InterruptionSource: 0
248  m_OrderedInterruption: 1
249  m_CanTransitionToSelf: 1
250--- !u!1101 &-2218783228185989829
251AnimatorStateTransition:
252  m_ObjectHideFlags: 1
253  m_CorrespondingSourceObject: {fileID: 0}
254  m_PrefabInstance: {fileID: 0}
255  m_PrefabAsset: {fileID: 0}
256  m_Name: 
257  m_Conditions: []
258  m_DstStateMachine: {fileID: 0}
259  m_DstState: {fileID: -4192269787200457927}
260  m_Solo: 0
261  m_Mute: 0
262  m_IsExit: 0
263  serializedVersion: 3
264  m_TransitionDuration: 0.25
265  m_TransitionOffset: 0
266  m_ExitTime: 0.75
267  m_HasExitTime: 1
268  m_HasFixedDuration: 1
269  m_InterruptionSource: 0
270  m_OrderedInterruption: 1
271  m_CanTransitionToSelf: 1
272--- !u!1101 &-124572712678061528
273AnimatorStateTransition:
274  m_ObjectHideFlags: 1
275  m_CorrespondingSourceObject: {fileID: 0}
276  m_PrefabInstance: {fileID: 0}
277  m_PrefabAsset: {fileID: 0}
278  m_Name: 
279  m_Conditions: []
280  m_DstStateMachine: {fileID: 0}
281  m_DstState: {fileID: -4192269787200457927}
282  m_Solo: 0
283  m_Mute: 0
284  m_IsExit: 0
285  serializedVersion: 3
286  m_TransitionDuration: 0.25
287  m_TransitionOffset: 0
288  m_ExitTime: 0.75
289  m_HasExitTime: 1
290  m_HasFixedDuration: 1
291  m_InterruptionSource: 0
292  m_OrderedInterruption: 1
293  m_CanTransitionToSelf: 1
294--- !u!91 &9100000
295AnimatorController:
296  m_ObjectHideFlags: 0
297  m_CorrespondingSourceObject: {fileID: 0}
298  m_PrefabInstance: {fileID: 0}
299  m_PrefabAsset: {fileID: 0}
300  m_Name: BattleGanfaulAnimator
301  serializedVersion: 5
302  m_AnimatorParameters:
303  - m_Name: Alive
304    m_Type: 9
305    m_DefaultFloat: 0
306    m_DefaultInt: 0
307    m_DefaultBool: 0
308    m_Controller: {fileID: 9100000}
309  - m_Name: Attack
310    m_Type: 9
311    m_DefaultFloat: 0
312    m_DefaultInt: 0
313    m_DefaultBool: 0
314    m_Controller: {fileID: 9100000}
315  - m_Name: Dead
316    m_Type: 9
317    m_DefaultFloat: 0
318    m_DefaultInt: 0
319    m_DefaultBool: 0
320    m_Controller: {fileID: 9100000}
321  - m_Name: Damage
322    m_Type: 9
323    m_DefaultFloat: 0
324    m_DefaultInt: 0
325    m_DefaultBool: 0
326    m_Controller: {fileID: 9100000}
327  - m_Name: MagicAttack
328    m_Type: 9
329    m_DefaultFloat: 0
330    m_DefaultInt: 0
331    m_DefaultBool: 0
332    m_Controller: {fileID: 9100000}
333  - m_Name: Heal
334    m_Type: 9
335    m_DefaultFloat: 0
336    m_DefaultInt: 0
337    m_DefaultBool: 0
338    m_Controller: {fileID: 9100000}
339  m_AnimatorLayers:
340  - serializedVersion: 5
341    m_Name: Base Layer
342    m_StateMachine: {fileID: -4202403341379912161}
343    m_Mask: {fileID: 0}
344    m_Motions: []
345    m_Behaviours: []
346    m_BlendingMode: 0
347    m_SyncedLayerIndex: -1
348    m_DefaultWeight: 0
349    m_IKPass: 0
350    m_SyncedLayerAffectsTiming: 0
351    m_Controller: {fileID: 9100000}
352--- !u!1102 &1803938447303446115
353AnimatorState:
354  serializedVersion: 5
355  m_ObjectHideFlags: 1
356  m_CorrespondingSourceObject: {fileID: 0}
357  m_PrefabInstance: {fileID: 0}
358  m_PrefabAsset: {fileID: 0}
359  m_Name: MagicAttack
360  m_Speed: 1
361  m_CycleOffset: 0
362  m_Transitions:
363  - {fileID: -124572712678061528}
364  m_StateMachineBehaviours: []
365  m_Position: {x: 50, y: 50, z: 0}
366  m_IKOnFeet: 0
367  m_WriteDefaultValues: 1
368  m_Mirror: 0
369  m_SpeedParameterActive: 0
370  m_MirrorParameterActive: 0
371  m_CycleOffsetParameterActive: 0
372  m_TimeParameterActive: 0
373  m_Motion: {fileID: -203655887218126122, guid: 54c8de380a3e44d4798164aad5621611,
374    type: 3}
375  m_Tag: 
376  m_SpeedParameter: 
377  m_MirrorParameter: 
378  m_CycleOffsetParameter: 
379  m_TimeParameter: 
380--- !u!1101 &3893133945737907823
381AnimatorStateTransition:
382  m_ObjectHideFlags: 1
383  m_CorrespondingSourceObject: {fileID: 0}
384  m_PrefabInstance: {fileID: 0}
385  m_PrefabAsset: {fileID: 0}
386  m_Name: 
387  m_Conditions: []
388  m_DstStateMachine: {fileID: 0}
389  m_DstState: {fileID: -4192269787200457927}
390  m_Solo: 0
391  m_Mute: 0
392  m_IsExit: 0
393  serializedVersion: 3
394  m_TransitionDuration: 0.25
395  m_TransitionOffset: 0
396  m_ExitTime: 0.82558143
397  m_HasExitTime: 1
398  m_HasFixedDuration: 1
399  m_InterruptionSource: 0
400  m_OrderedInterruption: 1
401  m_CanTransitionToSelf: 1
402--- !u!1102 &4895399887070682954
403AnimatorState:
404  serializedVersion: 5
405  m_ObjectHideFlags: 1
406  m_CorrespondingSourceObject: {fileID: 0}
407  m_PrefabInstance: {fileID: 0}
408  m_PrefabAsset: {fileID: 0}
409  m_Name: Heal
410  m_Speed: 1
411  m_CycleOffset: 0
412  m_Transitions:
413  - {fileID: -9036027080510962530}
414  m_StateMachineBehaviours: []
415  m_Position: {x: 50, y: 50, z: 0}
416  m_IKOnFeet: 0
417  m_WriteDefaultValues: 1
418  m_Mirror: 0
419  m_SpeedParameterActive: 0
420  m_MirrorParameterActive: 0
421  m_CycleOffsetParameterActive: 0
422  m_TimeParameterActive: 0
423  m_Motion: {fileID: -203655887218126122, guid: 2880d1568d7eb574aaeb22888ca27472,
424    type: 3}
425  m_Tag: 
426  m_SpeedParameter: 
427  m_MirrorParameter: 
428  m_CycleOffsetParameter: 
429  m_TimeParameter: 
430--- !u!1101 &5904894134154437717
431AnimatorStateTransition:
432  m_ObjectHideFlags: 1
433  m_CorrespondingSourceObject: {fileID: 0}
434  m_PrefabInstance: {fileID: 0}
435  m_PrefabAsset: {fileID: 0}
436  m_Name: 
437  m_Conditions:
438  - m_ConditionMode: 1
439    m_ConditionEvent: Attack
440    m_EventTreshold: 0
441  m_DstStateMachine: {fileID: 0}
442  m_DstState: {fileID: -7399000304974151475}
443  m_Solo: 0
444  m_Mute: 0
445  m_IsExit: 0
446  serializedVersion: 3
447  m_TransitionDuration: 0.25
448  m_TransitionOffset: 0
449  m_ExitTime: 0.8863636
450  m_HasExitTime: 0
451  m_HasFixedDuration: 1
452  m_InterruptionSource: 0
453  m_OrderedInterruption: 1
454  m_CanTransitionToSelf: 1
455--- !u!1102 &8601915139413588362
456AnimatorState:
457  serializedVersion: 5
458  m_ObjectHideFlags: 1
459  m_CorrespondingSourceObject: {fileID: 0}
460  m_PrefabInstance: {fileID: 0}
461  m_PrefabAsset: {fileID: 0}
462  m_Name: Dead
463  m_Speed: 1
464  m_CycleOffset: 0
465  m_Transitions: []
466  m_StateMachineBehaviours: []
467  m_Position: {x: 50, y: 50, z: 0}
468  m_IKOnFeet: 0
469  m_WriteDefaultValues: 1
470  m_Mirror: 0
471  m_SpeedParameterActive: 0
472  m_MirrorParameterActive: 0
473  m_CycleOffsetParameterActive: 0
474  m_TimeParameterActive: 0
475  m_Motion: {fileID: -203655887218126122, guid: f72343848b4e0e14abeeb648f6122f56,
476    type: 3}
477  m_Tag: 
478  m_SpeedParameter: 
479  m_MirrorParameter: 
480  m_CycleOffsetParameter: 
481  m_TimeParameter: