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