Hello unity answers. This could be a ‘dumb’ question, however it is really bugging me.
var time = 120.0;
function Start () {
yield WaitForSeconds(time);
GameObject.Destroy(this);
}
Doesn’t this wait 120sec (2min) then delete itself?
Why wont it work?
Thanks,
Tim