public void ShowStatus(string newStatus)
 {
     statusText.gameObject.SetActive(true);
     StartCoroutine(statusText.ChangeStatus(newStatus));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Show status text with animation
 /// </summary>
 /// <param name="message">Status text message</param>
 public void ShowStatusText(string message)
 {
     statusText.gameObject.SetActive(true);
     StartCoroutine(statusText.ChangeStatus(message));
 }