Quantcast
Channel: Questions in topic: "simple question"
Viewing all articles
Browse latest Browse all 10

Acces variables before start()

$
0
0
Hey, I have 2 variables (floats) declared before the start() function, and now I want to create a vector3 variable (also before the start() function, but I can't access those floats. Should I create the Vector3 in the start() function? Or where should I declare all my variables within my script? CODE: public float OpenAngle = 90F; public float CloseAngle = 0F; Vector3 current = new Vector3(0, ..., 0); Tyvm!!!

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images