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