Active after time

how can i make my game object active after certain time?..thanks :slight_smile:

waitforseconds gameobject.enabled

Reasonably sure it’s GameObject.active and Component.enabled.

try this example:

var Object : GameObject; // Drag any object to inspector in unity

function Start() {

yield WaitForSeconds(5); // 5 secs
Object.gameObject.GetComponent(MeshRenderer).enabled = true; // if object is invisible OR use Object.gameObject.active = true;

}

enjoy!