Skip to content

Commit 5ea8ea1

Browse files
committed
Use the state machine to change Game State to and from Combat
1 parent 66cafc2 commit 5ea8ea1

24 files changed

+241
-2
lines changed

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/PlantCritter/States/Alert.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ MonoBehaviour:
1515
_actions:
1616
- {fileID: 11400000, guid: 4b49e9d3d876bba458ffce6292758942, type: 2}
1717
- {fileID: 11400000, guid: b3e528708050add49837de9f6a3d6b48, type: 2}
18+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/PlantCritter/States/Dying.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ MonoBehaviour:
1515
_actions:
1616
- {fileID: 11400000, guid: 0b27e7b7a119315429d153652b19d7ba, type: 2}
1717
- {fileID: 11400000, guid: 3df03613ad6365246bd2d591eddabc10, type: 2}
18+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/PlantCritter/States/Fighting.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
_actions:
1616
- {fileID: 11400000, guid: 4b49e9d3d876bba458ffce6292758942, type: 2}
17+
- {fileID: 11400000, guid: 19db8963f6fcdb74ea7f0f13ef76d687, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/PlantCritter/States/Idle.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
_actions:
1616
- {fileID: 11400000, guid: 5cc2ce97159d08647a4577ccf90bd204, type: 2}
17+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/SlimeRockCritter/Actions/ChasingTargetAction.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ MonoBehaviour:
1414
m_EditorClassIdentifier:
1515
_targetTransform: {fileID: 11400000, guid: 35fc4039342b6ba458d0d4429e89ee74, type: 2}
1616
_chasingSpeed: 2
17+
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/SlimeRockCritter/States/Alert.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ MonoBehaviour:
1717
- {fileID: 11400000, guid: b3e528708050add49837de9f6a3d6b48, type: 2}
1818
- {fileID: 11400000, guid: 46af8bb2ed6efed4ab26d05dfc1b560f, type: 2}
1919
- {fileID: 11400000, guid: 865756d55a4aa2644be7ab9959c408fb, type: 2}
20+
- {fileID: 11400000, guid: 19db8963f6fcdb74ea7f0f13ef76d687, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/SlimeRockCritter/States/Dying.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ MonoBehaviour:
1616
- {fileID: 11400000, guid: 0b27e7b7a119315429d153652b19d7ba, type: 2}
1717
- {fileID: 11400000, guid: 3df03613ad6365246bd2d591eddabc10, type: 2}
1818
- {fileID: 11400000, guid: 071fecb332ceabb4ba338d86d34759ac, type: 2}
19+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/SlimeRockCritter/States/Idle.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ MonoBehaviour:
1616
- {fileID: 11400000, guid: 5cc2ce97159d08647a4577ccf90bd204, type: 2}
1717
- {fileID: 11400000, guid: d33b24ef9d2a6ac4fb91c11c189b81f2, type: 2}
1818
- {fileID: 11400000, guid: 071fecb332ceabb4ba338d86d34759ac, type: 2}
19+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/Critters/SlimeRockCritter/States/Roaming.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ MonoBehaviour:
1515
_actions:
1616
- {fileID: 11400000, guid: 46af8bb2ed6efed4ab26d05dfc1b560f, type: 2}
1717
- {fileID: 11400000, guid: 976208a7240935042a5f8bbcb0d35914, type: 2}
18+
- {fileID: 11400000, guid: cb39249adcc9b7048993808ba9aa4d92, type: 2}

UOP1_Project/Assets/ScriptableObjects/StateMachine/GameState.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)