Hi Im just trying to learn a few basics,I am trying to make a varible public, but I’m not quite there.
function Start (){
animation.Stop();
yield WaitForSeconds(5);
animation.Play();
}
This is my private var version, But To make the varible public?
var "DelayTime":5 ;
function Start (){
animation.Stop();
yield WaitForSeconds("Delaytime");
animation.Play();
}
Does whatever that comes after"var" Have to come from a specific list of commands? If so what are these commands classified as and where should I look in the reference-or maybe theres some other way of making the penny drop? I just havent quite got it yet…
thanks
AC