Uploaded September 2015 | Updated September 2026, 2 weeks ago
In episode six we implement enemy attacks.
FAQ:
Q: Game crashes when enemy attacks
A: Make sure that the yield statement in the UpdatePath coroutine is OUTSIDE the currentState == State.Chasing condition.
Source code:
github.com/SebLague/Create-a-Game-Source
Follow me on twitter @SebastianLague
Support my videos on Patreon: bit.ly/sebPatreon
In episode six we implement enemy attacks.
FAQ:
Q: Game crashes when enemy attacks
A: Make sure that the yield statement in the UpdatePath coroutine is OUTSIDE the currentState == State.Chasing condition.
Source code:
github.com/SebLague/Create-a-Game-Source
Follow me on twitter @SebastianLague
Support my videos on Patreon: bit.ly/sebPatreon









![[Unity] Creating a 2D Platformer (E10. variable jump height)
[Unity] Creating a 2D Platformer (E10. variable jump height) [Unity] Creating a 2D Platformer (E10. variable jump height)](https://i.ytimg.com/vi/rVfR14UNNDo/mqdefault.jpg)
