Esempio n. 1
0
        public static void DrawTextWinterShadow(Rect rect)
        {
            float num = GenUI.BackgroundDarkAlphaForText();

            if (num > 0.001f)
            {
                GUI.color = new Color(1f, 1f, 1f, num);
                GUI.DrawTexture(rect, GenUI.UnderShadowTex);
                GUI.color = Color.white;
            }
        }