CinemachineVirtualCameraBase.ResolveFollow Method

Cinemachine

CinemachineVirtualCameraBaseResolveFollow Method

Returns this vcam's Follow target, or if that is null, will retrun the parent vcam's Follow target.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
protected Transform ResolveFollow(
	Transform localFollow
)
function ResolveFollow(localFollow);

Parameters

localFollow
Type: Transform
This vcam's Follow value.

Return Value

Type: Transform
The same value, or the parent's if null and a parent exists.
See Also