//Jimmy Vegas Unity Tutorial //This script is for global hints using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GlobalHints : MonoBehaviour { public GameObject hintText; public static int hintNumber; void Update() { if (hintNumber == 1) { hintNumber = 0; hintText.GetComponent().text = "Mission start points can be found by searching for the glowing orange points on your map."; hintText.GetComponent().Play("HintFade"); } } }