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