static public int DrawRect(IntPtr l) { try { FairyGUI.NGraphics self = (FairyGUI.NGraphics)checkSelf(l); UnityEngine.Rect a1; checkValueType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); UnityEngine.Color a3; checkType(l, 4, out a3); UnityEngine.Color a4; checkType(l, 5, out a4); self.DrawRect(a1, a2, a3, a4); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }