예제 #1
0
 private static void DrawCounter()
 {
     if (_counterColor.Value == CounterColors.Outline)
         ShadowAndOutline.DrawOutline(_screenRect, _frameOutputText, _style, Color.black, Color.white, 1.5f);
     else
         GUI.Label(_screenRect, _frameOutputText, _style);
 }
예제 #2
0
        private static void DrawCounter()
        {
            var outputText = string.IsNullOrEmpty(PluginCounter.StringOutput) ? _outputText : _outputText + "\n" + PluginCounter.StringOutput;

            if (_counterColor.Value == CounterColors.Outline)
            {
                ShadowAndOutline.DrawOutline(_screenRect, outputText, _style, Color.black, Color.white, 1.5f);
            }
            else
            {
                GUI.Label(_screenRect, outputText, _style);
            }
        }