@SebastianLague
  @SebastianLague
Sebastian Lague | Unity Create a Game Series (E02. gun system) @SebastianLague | Uploaded 9 years ago | Updated 16 hours ago
Welcome to the second episode of this Create a Game series.

FAQ:
Q: Can't add gun in inspector
A: Make sure that gun script is attached to the gun prefab.

Q: Gun not being equipped when I press play
A: Make sure your Start method is spelled correctly in the GunController script. It must have a capital 'S' or it will not be called by Unity.

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 (E02. gun system)Coding Adventure: Simulating an EcosystemRPG graphics E07: Armour [Blender]I Tried Creating a Game Using Real-World Geographic DataCharacter Creation (E08: third person camera)Blender Character Creation (E05: Walk animation)Path Creator (free unity tool)Visual Debug [Unity Editor Tool][Unity] Procedural Planets (E03: layered noise)Unity Create a Game Series (E04. damage system)Kinematic Equations (E01: introduction)Introduction to Game Development (E12: script communication)

Unity Create a Game Series (E02. gun system) @SebastianLague