UnityEngine.UI.ClipperRegistry.Unregister C# (CSharp) Method

Unregister() public static method

Unregister an IClipper.

public static Unregister ( IClipper c ) : void
c IClipper
return void
        public static void Unregister(IClipper c)
        {
            instance.m_Clippers.Remove(c);
        }

Usage Example

Esempio n. 1
0
 protected override void OnDisable()
 {
     base.OnDisable();
     this.m_ClipTargets.Clear();
     this.m_Clippers.Clear();
     ClipperRegistry.Unregister(this);
     MaskUtilities.Notify2DMaskStateChanged(this);
 }
All Usage Examples Of UnityEngine.UI.ClipperRegistry::Unregister