You've already forked taptap2024_GJ_chidouren
276 lines
5.7 KiB
Plaintext
276 lines
5.7 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: c6fbd4d875fc9c244aa5a60af9e992ab, type: 3}
|
|
m_Name: enemyFsm_b
|
|
m_EditorClassIdentifier:
|
|
viewPosition: {x: 232, y: 290, z: 0}
|
|
viewScale: {x: 0.65751624, y: 0.65751624, z: 1}
|
|
Layers:
|
|
- Active
|
|
originGUID:
|
|
states:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: -60
|
|
y: -20
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Any State
|
|
StateScripts: []
|
|
parents: []
|
|
isSubStateMachine: 0
|
|
isBuildInState: 1
|
|
buildInStateName: Any State
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: -60
|
|
y: 380
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Entry
|
|
StateScripts: []
|
|
parents: []
|
|
isSubStateMachine: 0
|
|
isBuildInState: 1
|
|
buildInStateName: Entry
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 240
|
|
y: 200
|
|
width: 200
|
|
height: 40
|
|
defaultState: 1
|
|
name: sleep
|
|
StateScripts: []
|
|
parents: []
|
|
isSubStateMachine: 0
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 580
|
|
y: -20
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Active
|
|
StateScripts: []
|
|
parents: []
|
|
isSubStateMachine: 1
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: -140
|
|
y: 380
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Active/Entry
|
|
StateScripts: []
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 1
|
|
buildInStateName: Entry
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: -120
|
|
y: -180
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Active/Any State
|
|
StateScripts: []
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 1
|
|
buildInStateName: Any State
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 820
|
|
y: -140
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Active/up
|
|
StateScripts: []
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 1
|
|
buildInStateName: up
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 160
|
|
y: 160
|
|
width: 200
|
|
height: 40
|
|
defaultState: 1
|
|
name: Idea
|
|
StateScripts:
|
|
- className: Game.Component.EnemyFSM_AI.Idea
|
|
guid: 3e32e90cfcf94a799c192bd48694869c
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 580
|
|
y: 420
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Runawary
|
|
StateScripts: []
|
|
parents: []
|
|
isSubStateMachine: 0
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 560
|
|
y: -40
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Follow
|
|
StateScripts:
|
|
- className: Game.Component.EnemyFSM_AI.FollowFore
|
|
guid: 91b9bec6145b4ffabdc28f44f3b3c053
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
- rect:
|
|
serializedVersion: 2
|
|
x: 560
|
|
y: 360
|
|
width: 200
|
|
height: 40
|
|
defaultState: 0
|
|
name: Walk
|
|
StateScripts:
|
|
- className: Game.Component.EnemyFSM_AI.RandomWalk
|
|
guid: f30cf9a1f060477888024e0f40a3bc3e
|
|
parents:
|
|
- Active
|
|
isSubStateMachine: 0
|
|
isBuildInState: 0
|
|
buildInStateName:
|
|
parameters:
|
|
- name: hasAttack
|
|
value: 0
|
|
parameterType: 2
|
|
- name: hasSafeArea
|
|
value: 0
|
|
parameterType: 2
|
|
- name: hasRunaway
|
|
value: 0
|
|
parameterType: 2
|
|
- name: hasActive
|
|
value: 1
|
|
parameterType: 2
|
|
transitions:
|
|
- fromStateName: sleep
|
|
toStateName: Active
|
|
conditions:
|
|
- targetValue: 1
|
|
parameterName: hasActive
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Active
|
|
toStateName: Runawary
|
|
conditions:
|
|
- targetValue: 1
|
|
parameterName: hasRunaway
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Runawary
|
|
toStateName: sleep
|
|
conditions:
|
|
- targetValue: 0
|
|
parameterName: hasActive
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Idea
|
|
toStateName: Follow
|
|
conditions:
|
|
- targetValue: 1
|
|
parameterName: hasAttack
|
|
compareType: 2
|
|
- targetValue: 1
|
|
parameterName: hasSafeArea
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Active
|
|
toStateName: sleep
|
|
conditions:
|
|
- targetValue: 0
|
|
parameterName: hasActive
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Follow
|
|
toStateName: Walk
|
|
conditions:
|
|
- targetValue: 0
|
|
parameterName: hasAttack
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Walk
|
|
toStateName: Follow
|
|
conditions:
|
|
- targetValue: 1
|
|
parameterName: hasAttack
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Active/Any State
|
|
toStateName: Idea
|
|
conditions:
|
|
- targetValue: 0
|
|
parameterName: hasSafeArea
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Runawary
|
|
toStateName: Active
|
|
conditions:
|
|
- targetValue: 0
|
|
parameterName: hasRunaway
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|
|
- fromStateName: Idea
|
|
toStateName: Walk
|
|
conditions:
|
|
- targetValue: 1
|
|
parameterName: hasSafeArea
|
|
compareType: 2
|
|
- targetValue: 0
|
|
parameterName: hasAttack
|
|
compareType: 2
|
|
group_conditions: []
|
|
AutoSwtich: 0
|