Question by
Mactadilis · Oct 18, 2017 at 04:51 PM ·
textappearintro
How do i appear text after a specific time?
I made text in canvas parent, and I made a new script which i dragged and dropped on to the created text. I edited the script to destroy text in 5 seconds. I'm trying to make an intro to my game with narration. How do i appear text after, lets say, 10 seconds. And how do i appear text after the first one has passed? Can you do something with this code so it's most simple? I just started to program in Unity this week, so I'm a begginer:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Text_1 : MonoBehaviour {
public float time = 5;
void Start () {
Destroy(gameObject, time);
}
}
Comment