You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
275
Assets/GameRes/AutoSource/enemyFsm_c.asset
Normal file
275
Assets/GameRes/AutoSource/enemyFsm_c.asset
Normal file
@@ -0,0 +1,275 @@
|
||||
%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_c
|
||||
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.PathWalk
|
||||
guid: f98a710f96914e2e8585939e12bff6d8
|
||||
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
|
||||
8
Assets/GameRes/AutoSource/enemyFsm_c.asset.meta
Normal file
8
Assets/GameRes/AutoSource/enemyFsm_c.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf7590f84bb1fad48b6fc52564c9aaa1
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
275
Assets/GameRes/AutoSource/enemyFsm_witch.asset
Normal file
275
Assets/GameRes/AutoSource/enemyFsm_witch.asset
Normal file
@@ -0,0 +1,275 @@
|
||||
%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_witch
|
||||
m_EditorClassIdentifier:
|
||||
viewPosition: {x: 186, y: 404, 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.FollowDuration
|
||||
guid: 4ca3a44f24814bd190225eccca7d63f0
|
||||
parents:
|
||||
- Active
|
||||
isSubStateMachine: 0
|
||||
isBuildInState: 0
|
||||
buildInStateName:
|
||||
- rect:
|
||||
serializedVersion: 2
|
||||
x: 560
|
||||
y: 360
|
||||
width: 200
|
||||
height: 40
|
||||
defaultState: 0
|
||||
name: Sleep
|
||||
StateScripts:
|
||||
- className: Game.Component.EnemyFSM_AI.Sleep
|
||||
guid: 4468144f266a4902a696efa225b1ee3b
|
||||
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: Sleep
|
||||
conditions:
|
||||
- targetValue: 0
|
||||
parameterName: hasAttack
|
||||
compareType: 2
|
||||
group_conditions: []
|
||||
AutoSwtich: 0
|
||||
- fromStateName: Sleep
|
||||
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: Sleep
|
||||
conditions:
|
||||
- targetValue: 1
|
||||
parameterName: hasSafeArea
|
||||
compareType: 2
|
||||
- targetValue: 0
|
||||
parameterName: hasAttack
|
||||
compareType: 2
|
||||
group_conditions: []
|
||||
AutoSwtich: 0
|
||||
8
Assets/GameRes/AutoSource/enemyFsm_witch.asset.meta
Normal file
8
Assets/GameRes/AutoSource/enemyFsm_witch.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28ffafa4a96f1c8409204d1fb0e9f827
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user