FairyGUI.NGraphics.FillColors C# (CSharp) Method

FillColors() public method

public FillColors ( Color value ) : void
value UnityEngine.Color
return void
        public void FillColors(Color value)
        {
            Color32[] arr = this.colors;
            int count = arr.Length;
            Color32 col32 = value;
            for (int i = 0; i < count; i++)
                arr[i] = col32;
        }

Usage Example

 static public int FillColors(IntPtr l)
 {
     try {
         FairyGUI.NGraphics self = (FairyGUI.NGraphics)checkSelf(l);
         UnityEngine.Color  a1;
         checkType(l, 2, out a1);
         self.FillColors(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }