video thumbnail 14:43
Unity Create a Game Series (E02. gun system)

2015-09-18

[public] 103K views, 1.59K likes, 14.0 dislikes audio only

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


Game development tutorials. Support my videos on Patreon
https://www.patreon.com/SebastianLague