Question by
mace486 · Jul 08, 2017 at 10:14 PM ·
javascriptgamewaitforsecondssetactivecutscene
Wat for seconds not working! HELP
For some reason my code simply doesn't work I've tried many things and I'm stuck and my script doesn't do what intended
Instead of disabling/enabling it doesn't do anything. I don't know if its the WaitForSeconds or the SetActive part. HELP!
var CutScene : GameObject;
var player : GameObject;
function start () {
yield WaitForSeconds (34.75);
CutScene.SetActive (true);
player.SetActive (false);
}
Comment