using System.Collections; using UnityEngine; public class ControlHelp : MonoBehaviour { public GameObject helpText; // Start is called before the first frame update void Start() { StartCoroutine(hideText()); } IEnumerator hideText() { yield return new WaitForSecondsRealtime(5.0f); helpText.SetActive(false); } }