Example #1
0
        public static int IntAngle(int value, int snap, int min, int max)
        {
            Rect rect = GUILayoutUtility.GetRect(128, 512, 32, 32);

            rect.x += 8;
            return(ExtraGUI.IntAngle(rect, value, snap, min, max));
        }
Example #2
0
        public static float FloatAngle(float value, float snap, float min, float max)
        {
            Rect rect = GUILayoutUtility.GetRect(128, 512, 32, 32);

            rect.x += 8;
            return(ExtraGUI.FloatAngle(rect, value, snap, min, max));
        }