Esempio n. 1
0
        internal static int DoMaskField(Rect position, int controlID, int mask, string[] flagNames, GUIStyle style)
        {
            int  changedFlags;
            bool changedToValue;

            return(MaskFieldGUI.DoMaskField(position, controlID, mask, flagNames, style, out changedFlags, out changedToValue));
        }
Esempio n. 2
0
        internal static int DoMaskField(Rect position, int controlID, int mask, string[] flagNames, int[] flagValues, GUIStyle style)
        {
            int  num;
            bool flag;

            return(MaskFieldGUI.DoMaskField(position, controlID, mask, flagNames, flagValues, style, out num, out flag));
        }
Esempio n. 3
0
 internal static int DoMaskField(Rect position, int controlID, int mask, string[] flagNames, GUIStyle style, out int changedFlags, out bool changedToValue)
 {
     int[] array = new int[flagNames.Length];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = 1 << i;
     }
     return(MaskFieldGUI.DoMaskField(position, controlID, mask, flagNames, array, style, out changedFlags, out changedToValue));
 }