Exemple #1
0
        /// <summary>
        /// Print onscreen label with gray text.
        /// </summary>
        public static void NotifyTrace(string text, float duration = 5f)
        {
            if (!CanDraw)
            {
                return;
            }

            _labelsQueue.Current.Enqueue(new DebugLabelRow(RichText.Colored(text, Colors.CodeGray), duration));
        }