CinemachineFreeLook.OnDestroy Method

Cinemachine

CinemachineFreeLookOnDestroy Method

Makes sure that the child rigs get destroyed in an undo-firndly manner. Invalidates the rig cache.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
protected override void OnDestroy()
function OnDestroy();
See Also