protected override void OnEnable()
 {
     base.OnEnable();
     m_ShouldRecalculateClipRects = true;
     ClipperRegistry.Register(this);
     NewRect2DMaskUtil.Notify2DMaskStateChanged(this);
 }
 protected override void OnDisable()
 {
     base.OnDisable();
     m_Clippers.Clear();
     m_ClipTargets.Clear();
     ClipperRegistry.Unregister(this);
     NewRect2DMaskUtil.Notify2DMaskStateChanged(this);
 }