/// <summary> /// Re-displays the command text with the specified message. Only use this if the text will not need to be localized /// </summary> /// <param name="command"></param> public void displayCommand(string command) { if (!commandDisplay.gameObject.activeInHierarchy) { commandDisplay.gameObject.SetActive(true); } commandDisplay.play(command); }
/// <summary> /// Re-displays the command text with the specified message. Only use this if the text will not need to be localized /// </summary> /// <param name="command"></param> public void displayCommand(string command, AnimatorOverrideController commandAnimatorOverride = null) { if (!commandDisplay.gameObject.activeInHierarchy) { commandDisplay.gameObject.SetActive(true); } commandDisplay.play(command, commandAnimatorOverride); }