all repos — RPG @ 9a9528c6bffc34089550b5e8fb4c5a1c4754c8cf

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

Assets/Models/Brady/BattleBradyAnimator.controller (view raw)

  1%YAML 1.1
  2%TAG !u! tag:unity3d.com,2011:
  3--- !u!1102 &-7399000304974151475
  4AnimatorState:
  5  serializedVersion: 5
  6  m_ObjectHideFlags: 1
  7  m_CorrespondingSourceObject: {fileID: 0}
  8  m_PrefabInstance: {fileID: 0}
  9  m_PrefabAsset: {fileID: 0}
 10  m_Name: Attack
 11  m_Speed: 1
 12  m_CycleOffset: 0
 13  m_Transitions:
 14  - {fileID: -2218783228185989829}
 15  m_StateMachineBehaviours: []
 16  m_Position: {x: 50, y: 50, z: 0}
 17  m_IKOnFeet: 0
 18  m_WriteDefaultValues: 1
 19  m_Mirror: 0
 20  m_SpeedParameterActive: 0
 21  m_MirrorParameterActive: 0
 22  m_CycleOffsetParameterActive: 0
 23  m_TimeParameterActive: 0
 24  m_Motion: {fileID: -203655887218126122, guid: 73c15d93a234ea341a0f4a6e43070dcc,
 25    type: 3}
 26  m_Tag: 
 27  m_SpeedParameter: 
 28  m_MirrorParameter: 
 29  m_CycleOffsetParameter: 
 30  m_TimeParameter: 
 31--- !u!1102 &-6824626627819401560
 32AnimatorState:
 33  serializedVersion: 5
 34  m_ObjectHideFlags: 1
 35  m_CorrespondingSourceObject: {fileID: 0}
 36  m_PrefabInstance: {fileID: 0}
 37  m_PrefabAsset: {fileID: 0}
 38  m_Name: Damage
 39  m_Speed: 1
 40  m_CycleOffset: 0
 41  m_Transitions:
 42  - {fileID: 3893133945737907823}
 43  m_StateMachineBehaviours: []
 44  m_Position: {x: 50, y: 50, z: 0}
 45  m_IKOnFeet: 0
 46  m_WriteDefaultValues: 1
 47  m_Mirror: 0
 48  m_SpeedParameterActive: 0
 49  m_MirrorParameterActive: 0
 50  m_CycleOffsetParameterActive: 0
 51  m_TimeParameterActive: 0
 52  m_Motion: {fileID: -203655887218126122, guid: 79c51eb2fc75b1349a1322813aee6285,
 53    type: 3}
 54  m_Tag: 
 55  m_SpeedParameter: 
 56  m_MirrorParameter: 
 57  m_CycleOffsetParameter: 
 58  m_TimeParameter: 
 59--- !u!1101 &-6809075834302583382
 60AnimatorStateTransition:
 61  m_ObjectHideFlags: 1
 62  m_CorrespondingSourceObject: {fileID: 0}
 63  m_PrefabInstance: {fileID: 0}
 64  m_PrefabAsset: {fileID: 0}
 65  m_Name: 
 66  m_Conditions:
 67  - m_ConditionMode: 1
 68    m_ConditionEvent: Dead
 69    m_EventTreshold: 0
 70  m_DstStateMachine: {fileID: 0}
 71  m_DstState: {fileID: 8601915139413588362}
 72  m_Solo: 0
 73  m_Mute: 0
 74  m_IsExit: 0
 75  serializedVersion: 3
 76  m_TransitionDuration: 0.25
 77  m_TransitionOffset: 0
 78  m_ExitTime: 0.75
 79  m_HasExitTime: 0
 80  m_HasFixedDuration: 1
 81  m_InterruptionSource: 0
 82  m_OrderedInterruption: 1
 83  m_CanTransitionToSelf: 1
 84--- !u!1107 &-4202403341379912161
 85AnimatorStateMachine:
 86  serializedVersion: 5
 87  m_ObjectHideFlags: 1
 88  m_CorrespondingSourceObject: {fileID: 0}
 89  m_PrefabInstance: {fileID: 0}
 90  m_PrefabAsset: {fileID: 0}
 91  m_Name: Base Layer
 92  m_ChildStates:
 93  - serializedVersion: 1
 94    m_State: {fileID: -4192269787200457927}
 95    m_Position: {x: 30, y: 200, z: 0}
 96  - serializedVersion: 1
 97    m_State: {fileID: 8601915139413588362}
 98    m_Position: {x: 500, y: 130, z: 0}
 99  - serializedVersion: 1
100    m_State: {fileID: -7399000304974151475}
101    m_Position: {x: 240, y: 200, z: 0}
102  - serializedVersion: 1
103    m_State: {fileID: -6824626627819401560}
104    m_Position: {x: 420, y: 290, z: 0}
105  m_ChildStateMachines: []
106  m_AnyStateTransitions:
107  - {fileID: -6809075834302583382}
108  - {fileID: 306679658229303580}
109  - {fileID: 7080444992889795118}
110  m_EntryTransitions: []
111  m_StateMachineTransitions: {}
112  m_StateMachineBehaviours: []
113  m_AnyStatePosition: {x: 260, y: 130, z: 0}
114  m_EntryPosition: {x: 50, y: 120, z: 0}
115  m_ExitPosition: {x: 800, y: 120, z: 0}
116  m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
117  m_DefaultState: {fileID: -4192269787200457927}
118--- !u!1102 &-4192269787200457927
119AnimatorState:
120  serializedVersion: 5
121  m_ObjectHideFlags: 1
122  m_CorrespondingSourceObject: {fileID: 0}
123  m_PrefabInstance: {fileID: 0}
124  m_PrefabAsset: {fileID: 0}
125  m_Name: Idle
126  m_Speed: 1
127  m_CycleOffset: 0
128  m_Transitions: []
129  m_StateMachineBehaviours: []
130  m_Position: {x: 50, y: 50, z: 0}
131  m_IKOnFeet: 0
132  m_WriteDefaultValues: 1
133  m_Mirror: 0
134  m_SpeedParameterActive: 0
135  m_MirrorParameterActive: 0
136  m_CycleOffsetParameterActive: 0
137  m_TimeParameterActive: 0
138  m_Motion: {fileID: -203655887218126122, guid: 34f541a3884e1ca4a81037741af61c4e,
139    type: 3}
140  m_Tag: 
141  m_SpeedParameter: 
142  m_MirrorParameter: 
143  m_CycleOffsetParameter: 
144  m_TimeParameter: 
145--- !u!1101 &-2218783228185989829
146AnimatorStateTransition:
147  m_ObjectHideFlags: 1
148  m_CorrespondingSourceObject: {fileID: 0}
149  m_PrefabInstance: {fileID: 0}
150  m_PrefabAsset: {fileID: 0}
151  m_Name: 
152  m_Conditions: []
153  m_DstStateMachine: {fileID: 0}
154  m_DstState: {fileID: -4192269787200457927}
155  m_Solo: 0
156  m_Mute: 0
157  m_IsExit: 0
158  serializedVersion: 3
159  m_TransitionDuration: 0.25
160  m_TransitionOffset: 0
161  m_ExitTime: 0.75
162  m_HasExitTime: 1
163  m_HasFixedDuration: 1
164  m_InterruptionSource: 0
165  m_OrderedInterruption: 1
166  m_CanTransitionToSelf: 1
167--- !u!91 &9100000
168AnimatorController:
169  m_ObjectHideFlags: 0
170  m_CorrespondingSourceObject: {fileID: 0}
171  m_PrefabInstance: {fileID: 0}
172  m_PrefabAsset: {fileID: 0}
173  m_Name: BattleBradyAnimator
174  serializedVersion: 5
175  m_AnimatorParameters:
176  - m_Name: Alive
177    m_Type: 9
178    m_DefaultFloat: 0
179    m_DefaultInt: 0
180    m_DefaultBool: 0
181    m_Controller: {fileID: 9100000}
182  - m_Name: Attack
183    m_Type: 9
184    m_DefaultFloat: 0
185    m_DefaultInt: 0
186    m_DefaultBool: 0
187    m_Controller: {fileID: 9100000}
188  - m_Name: Dead
189    m_Type: 9
190    m_DefaultFloat: 0
191    m_DefaultInt: 0
192    m_DefaultBool: 0
193    m_Controller: {fileID: 9100000}
194  - m_Name: Damage
195    m_Type: 9
196    m_DefaultFloat: 0
197    m_DefaultInt: 0
198    m_DefaultBool: 0
199    m_Controller: {fileID: 9100000}
200  m_AnimatorLayers:
201  - serializedVersion: 5
202    m_Name: Base Layer
203    m_StateMachine: {fileID: -4202403341379912161}
204    m_Mask: {fileID: 0}
205    m_Motions: []
206    m_Behaviours: []
207    m_BlendingMode: 0
208    m_SyncedLayerIndex: -1
209    m_DefaultWeight: 0
210    m_IKPass: 0
211    m_SyncedLayerAffectsTiming: 0
212    m_Controller: {fileID: 9100000}
213--- !u!1101 &306679658229303580
214AnimatorStateTransition:
215  m_ObjectHideFlags: 1
216  m_CorrespondingSourceObject: {fileID: 0}
217  m_PrefabInstance: {fileID: 0}
218  m_PrefabAsset: {fileID: 0}
219  m_Name: 
220  m_Conditions:
221  - m_ConditionMode: 1
222    m_ConditionEvent: Attack
223    m_EventTreshold: 0
224  m_DstStateMachine: {fileID: 0}
225  m_DstState: {fileID: -7399000304974151475}
226  m_Solo: 0
227  m_Mute: 0
228  m_IsExit: 0
229  serializedVersion: 3
230  m_TransitionDuration: 0.25
231  m_TransitionOffset: 0
232  m_ExitTime: 0.75
233  m_HasExitTime: 0
234  m_HasFixedDuration: 1
235  m_InterruptionSource: 0
236  m_OrderedInterruption: 1
237  m_CanTransitionToSelf: 1
238--- !u!1101 &3893133945737907823
239AnimatorStateTransition:
240  m_ObjectHideFlags: 1
241  m_CorrespondingSourceObject: {fileID: 0}
242  m_PrefabInstance: {fileID: 0}
243  m_PrefabAsset: {fileID: 0}
244  m_Name: 
245  m_Conditions: []
246  m_DstStateMachine: {fileID: 0}
247  m_DstState: {fileID: -4192269787200457927}
248  m_Solo: 0
249  m_Mute: 0
250  m_IsExit: 0
251  serializedVersion: 3
252  m_TransitionDuration: 0.25
253  m_TransitionOffset: 0
254  m_ExitTime: 0.82558143
255  m_HasExitTime: 1
256  m_HasFixedDuration: 1
257  m_InterruptionSource: 0
258  m_OrderedInterruption: 1
259  m_CanTransitionToSelf: 1
260--- !u!1101 &7080444992889795118
261AnimatorStateTransition:
262  m_ObjectHideFlags: 1
263  m_CorrespondingSourceObject: {fileID: 0}
264  m_PrefabInstance: {fileID: 0}
265  m_PrefabAsset: {fileID: 0}
266  m_Name: 
267  m_Conditions:
268  - m_ConditionMode: 1
269    m_ConditionEvent: Damage
270    m_EventTreshold: 0
271  m_DstStateMachine: {fileID: 0}
272  m_DstState: {fileID: -6824626627819401560}
273  m_Solo: 0
274  m_Mute: 0
275  m_IsExit: 0
276  serializedVersion: 3
277  m_TransitionDuration: 0.25
278  m_TransitionOffset: 0
279  m_ExitTime: 0.75
280  m_HasExitTime: 0
281  m_HasFixedDuration: 1
282  m_InterruptionSource: 0
283  m_OrderedInterruption: 1
284  m_CanTransitionToSelf: 1
285--- !u!1102 &8601915139413588362
286AnimatorState:
287  serializedVersion: 5
288  m_ObjectHideFlags: 1
289  m_CorrespondingSourceObject: {fileID: 0}
290  m_PrefabInstance: {fileID: 0}
291  m_PrefabAsset: {fileID: 0}
292  m_Name: Dead
293  m_Speed: 1
294  m_CycleOffset: 0
295  m_Transitions: []
296  m_StateMachineBehaviours: []
297  m_Position: {x: 50, y: 50, z: 0}
298  m_IKOnFeet: 0
299  m_WriteDefaultValues: 1
300  m_Mirror: 0
301  m_SpeedParameterActive: 0
302  m_MirrorParameterActive: 0
303  m_CycleOffsetParameterActive: 0
304  m_TimeParameterActive: 0
305  m_Motion: {fileID: -203655887218126122, guid: 31577d515dbea0744947c1eab1eee923,
306    type: 3}
307  m_Tag: 
308  m_SpeedParameter: 
309  m_MirrorParameter: 
310  m_CycleOffsetParameter: 
311  m_TimeParameter: