Weapon Switching - Unity Tutorial
Video Statistics and Information
Channel: Brackeys
Views: 328,178
Rating: undefined out of 5
Keywords: brackeys, unity, unity3d, asset, assets, model, models, beginner, easy, how, to, howto, learn, course, tutorial, tutorials, game, development, develop, games, programming, coding, basic, basics, C#, weapon, switching, weapon switching, gun, change, changing, switch, pistol, rifle, shoot, scroll, wheel, number, keys
Id: Dn_BUIVdAPg
Channel Id: undefined
Length: 9min 59sec (599 seconds)
Published: Sun Apr 23 2017
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
This is literally a 10 min video tutorial on enabling/disabling gameobjects.....I mean, really?
Not only is this completely messy it relies on quirks in Unity's UI for getting array positions and is way too cumbersome.
Simply have a weapon manager script with an array that you can define how many weapons you wanna switch between, and then wrap the array at the edges.