Method OnDisable OnDisable() Unity calls this method when the object goes out of scope. Declaration protected override void OnDisable() Overrides UnityEngine.Rendering.VolumeComponent.OnDisable()