- Home /
How can I assign a variable to an object?
Im new in unity. So im asking how can i assign a var in my script to my object
var number : int;
number = gameobject/object..
can someone please help :)
Comment
Your answer

Follow this Question
Related Questions
Help Me with my gun! 1 Answer
Assigning an object as variable to another object which is a GameObject 0 Answers
Getting a variable from an object 1 Answer
[C#]Adding a Sprite from a Resources.Load("Path") : How does it work ? 3 Answers
How to keep a moving object at the height of the terrain? (script) 2 Answers