static public int DisablePersistentListener(IntPtr l) { try { UnityEngine.Events.UnityEventBase self = (UnityEngine.Events.UnityEventBase)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); self.DisablePersistentListener(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }