Method OnDestroy OnDestroy() Calls the DestroyPipelineDelegate for destroying the hidden child object, to support undo. Declaration protected override void OnDestroy() Overrides CinemachineVirtualCameraBase.OnDestroy()