Method OnDisable OnDisable() Unity calls this function when the asset is disabled. Declaration protected override void OnDisable() Overrides RenderPipelineAsset.OnDisable()