How to enable object after delay ?

Hey fellas, I need help, to enable text after some time (4 secs), it’s a tutorial text . Thanks.

You can use Yield WaitForSeconds(4); to wait 4 seconds. Then you can enable the text however you’d like (not sure what your text is like).

Create an array of texts, and a co-routine that switches between texts. Any number of texts will work, not just 2.

private string[] texts = {
    "First text",
    "Second text",
    "Third text",
};

public void Start() {
    StartCoroutine(TextSwitcher());
}

public IEnumerator TextSwitcher() {
    for (int i = 0; i < texts.Length; i++) {
        GetComponent<TextMesh>().text = texts*; // switch to next text*

yield return new WaitForSeconds(4); // wait 4 seconds before switching again
}
// after all texts displayed, disable text altogether.

GetComponent().text = “”; // empty text
}