protected override void OnEnable() { base.OnEnable(); m_ShouldRecalculateClipRects = true; ClipperRegistry.Register(this); NewRect2DMaskUtil.Notify2DMaskStateChanged(this); }
public static int Register_s(IntPtr l) { int result; try { IClipper c; LuaObject.checkType <IClipper>(l, 1, out c); ClipperRegistry.Register(c); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
private void OnEnable() { ClipperRegistry.Register(this); }