unity-atoms/Examples/Assets/InfiniteWaves/Enemy/EnemyStateMachineBase.asset
2020-03-20 01:16:18 +01:00

95 lines
2.5 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a56d454e768904df09296076c1aaea26, type: 3}
m_Name: EnemyStateMachineBase
m_EditorClassIdentifier:
_developerDescription: A simple FSM for Enemy state.
_id:
_value: CHASING
Changed: {fileID: 11400000, guid: da1401f0da9c44ed98d933c0f6b86d10, type: 2}
ChangedWithHistory: {fileID: 0}
_oldValue: CHASING
_initialValue: CHASING
_preChangeTransformers: []
_transitionStarted: {fileID: 0}
_completeCurrentTransition: {fileID: 0}
_states:
_list:
- _id:
_usage: 0
_value: CHASING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_cooldown:
_usage: 0
_value: 0
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_subMachine: {fileID: 0}
- _id:
_usage: 0
_value: ATTACKING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_cooldown:
_usage: 0
_value: 2
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_subMachine: {fileID: 0}
_transitions:
_list:
- _fromState:
_usage: 0
_value: CHASING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_toState:
_usage: 0
_value: ATTACKING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_command:
_usage: 0
_value: ATTACK
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_testCondition: {fileID: 0}
_raiseEventToCompleteTransition: 0
- _fromState:
_usage: 0
_value: ATTACKING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_toState:
_usage: 0
_value: CHASING
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_command:
_usage: 0
_value: CHASE
_constant: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
_testCondition: {fileID: 0}
_raiseEventToCompleteTransition: 0