@SebastianLague
  @SebastianLague
Sebastian Lague | Unity Create a Game Series (E06. enemy attacks) @SebastianLague | Uploaded 8 years ago | Updated 10 hours 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:
https://github.com/SebLague/Create-a-Game-Source

Follow me on twitter @SebastianLague
Support my videos on Patreon: http://bit.ly/sebPatreon
Unity Create a Game Series (E06. enemy attacks)[Unity] Procedural Cave Generation (E09. Collisions & Textures)Blender Character Creation (E01: Introduction)Polishing and Releasing My Tiny Geography GameKinematic Equations (E02: missile problem)Unity Create a Game Series (E09. obstacle placement)Character Creation (E09: collisions and jumping)Unity Create a Game Series (E20. recoil and reloading)Field of view visualisation (E01)Coding Adventure: Simulating Fluids[Unity] Creating a 2D Platformer (E10. variable jump height)Unity Create a Game Series (E02. gun system)

Unity Create a Game Series (E06. enemy attacks) @SebastianLague