UnityEngine.UI.CanvasScaler.OnDisable C# (CSharp) Method

OnDisable() protected method

See MonoBehaviour.OnDisable.

protected OnDisable ( ) : void
return void
        protected override void OnDisable()
        {
            this.SetScaleFactor(1f);
            this.SetReferencePixelsPerUnit(100f);
            base.OnDisable();
        }