Question by
legon2007 · Mar 12 at 11:40 PM ·
scripting problempublic variablegun script
Attaching one variable to another one by inspector
I would like to know if there is some way to choose a variable from other script in the inspector like with a game object. The thing is that i have a script that I use for many guns changing the stats in the inspector and another one which manages the different types of ammunition, but I don't know how to select the ammo external variable, which is held in the manager script, from the inspector.
problem.png
(24.7 kB)
Comment