TargetingModule<T>.OnTargetChanged


Declaration

protected virtual void OnTargetChanged(Transform newTarget, Transform oldTarget)

Description

A callback invoked when the camera target has changed.

Parameters

newTargetThe new target.
oldTargetThe old target.