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