public static void ShowText(Evaluation.UnityInterface.Feedback feedback) { if (feedback.Item.Text.Length > 0 && Instance != null) { lock (Instance.textToSet) { Instance.textToSet.Add(feedback); } } }
public static void ShowText(string[] text) { var fb = new Evaluation.UnityInterface.Feedback { Item = new TextFeedbackContent { Text = String.Join(", ", text).Trim(), Code = ColorCode.Hint } }; ShowText(fb); }
public static void ShowText(FeedbackEntry feedbackEntry) { var fb = new Evaluation.UnityInterface.Feedback { Item = new TextFeedbackContent { Text = feedbackEntry.Text, Code = feedbackEntry.ColorCode } }; ShowText(fb); }