Unregister() public static method

Unregister an IClipper.

public static Unregister ( IClipper c ) : void
c IClipper
return void
コード例 #1
0
 protected override void OnDisable()
 {
     base.OnDisable();
     this.m_ClipTargets.Clear();
     this.m_Clippers.Clear();
     ClipperRegistry.Unregister(this);
     MaskUtilities.Notify2DMaskStateChanged(this);
 }
コード例 #2
0
 protected override void OnDisable()
 {
     // we call base OnDisable first here
     // as we need to have the IsActive return the
     // correct value when we notify the children
     // that the mask state has changed.
     base.OnDisable();
     m_ClipTargets.Clear();
     m_Clippers.Clear();
     ClipperRegistry.Unregister(this);
     MaskUtilities.Notify2DMaskStateChanged(this);
 }
コード例 #3
0
 protected override void OnDestroy()
 {
     ClipperRegistry.Unregister(this);
     base.OnDestroy();
 }