protected override void OnDisable() { base.OnDisable(); m_Clippers.Clear(); m_ClipTargets.Clear(); ClipperRegistry.Unregister(this); NewRect2DMaskUtil.Notify2DMaskStateChanged(this); }
public static int Unregister_s(IntPtr l) { int result; try { IClipper c; LuaObject.checkType <IClipper>(l, 1, out c); ClipperRegistry.Unregister(c); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
private void OnDisable() { ClipperRegistry.Unregister(this); }