static public int Apply(IntPtr l) { try { FairyGUI.GearColor self = (FairyGUI.GearColor)checkSelf(l); self.Apply(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }