public void ShowStatus(string newStatus) { statusText.gameObject.SetActive(true); StartCoroutine(statusText.ChangeStatus(newStatus)); }
/// <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)); }