gimm270_07_photogallery/Assets/Scripts/ControlHelp.cs
2022-09-19 00:37:00 -06:00

19 lines
376 B
C#

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);
}
}