// ========== // Debug Text UI // ========== public void DisplayMessage(string message) { debugText.SetColor(Color.white); debugText.Display(new MessageText.Message(message, 1, 0, 2f, 1f, Color.white)); }
private void DoMessage(MessageText.Message msg, MessageText.FlashedMessage callback) { messageText.OnFlashMessage = callback; messageText.SetColor(msg.color); messageText.Display(msg); }
public void DisplayAlert(string message) { alertText.SetColor(Color.white); alertText.Display(new MessageText.Message(message, 1, 0, 2f, 1f, Color.white)); }