KKAPI.Utilities.IMGUIUtils.DrawLabelWithShadow(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.GUIStyle, UnityEngine.Color, UnityEngine.Color, UnityEngine.Vector2)

Here are the examples of the csharp api KKAPI.Utilities.IMGUIUtils.DrawLabelWithShadow(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.GUIStyle, UnityEngine.Color, UnityEngine.Color, UnityEngine.Vector2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 View Source File : IMGUIUtils.cs
License : GNU Lesser General Public License v3.0
Project Creator : IllusionMods

public static void DrawLayoutLabelWithShadow(GUIContent content, GUIStyle style, Color txtColor, Color shadowColor, Vector2 direction, params GUILayoutOption[] options)
        {
            DrawLabelWithShadow(GUILayoutUtility.GetRect(content, style, options), content, style, txtColor, shadowColor, direction);
        }

19 View Source File : IMGUIUtils.cs
License : GNU Lesser General Public License v3.0
Project Creator : IllusionMods

public static bool DrawButtonWithShadow(Rect r, GUIContent content, GUIStyle style, float shadowAlpha, Vector2 direction)
        {
            GUIStyle letters = new GUIStyle(style);
            letters.normal.background = null;
            letters.hover.background = null;
            letters.active.background = null;

            bool result = GUI.Button(r, content, style);

            Color color = r.Contains(Event.current.mousePosition) ? letters.hover.textColor : letters.normal.textColor;

            DrawLabelWithShadow(r, content, letters, color, new Color(0f, 0f, 0f, shadowAlpha), direction);

            return result;
        }