I read that on the unity help, just not sure what that means entirely. I attempted to add a function within my function to rectify as the link stated that you provided but its stating the function I added was not doing anything. `#pragma strict
var speed : float = 5f;
var $$anonymous$$issile : GameObject;
function Update () {
function Delay () {
WaitForSeconds(30);
}
transform.position = Vector3.$$anonymous$$oveTowards(transform.position, Vector3(0.6695971,-0.3633507,1.683784), speed * Time.deltaTime);
if(transform.position.x <= 0.8){Destroy ($$anonymous$$issile);
}
}`
What do I do at this point??
↧