UnityEngine.UI.Mask.OnEnable C# (CSharp) Method

OnEnable() protected method

protected OnEnable ( ) : void
return void
        protected override void OnEnable()
        {
            base.OnEnable();
            if (this.graphic != null)
            {
                this.graphic.canvasRenderer.hasPopInstruction = true;
                this.graphic.SetMaterialDirty();
            }
            MaskUtilities.NotifyStencilStateChanged(this);
        }