1
1. Creating a Unity Project
13:05
2
2. Unity project: Learning Edit Window and Shortcut Keys
13:03
3
3. Unity project: Transform Component and GameObject Window
9:45
4
4. Start Unity Programming
12:24
5
5. Unity project: Setting up Variables
9:19
6
6. Unity project: Adding Rotation and Input
10:39
7
7. Unity project: Player Movement
11:17
9
9. Unity project: Added Jump
15:51
10
10. Unity project: Created Coins
12:20
11
11. Project unity: Rotate our Coins
13:02
12. Unity project: Creating a State Machine
9:46
13
13. Unity project: Calling States
10:40
14
14. Unity project: GoTo and Attack States
10:50
15
15. Unity project: Adding Enemy Attack
9:36
16
16. Unity project: Adding Line of Sight
13:13

12. Unity project: Creating a State Machine

5 months ago
19

Typically, to build a state machine using interfaces, you'll need a State Controller script, that holds a reference to the Current State, which can be any state that implements the IState Interface, which is what will be used to define the common functions that each state will need to include.

Loading comments...