CinemachinePathBase.MaxUnit Method

Cinemachine

CinemachinePathBaseMaxUnit Method

Get the maximum value, for the given unity type

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public float MaxUnit(
	CinemachinePathBasePositionUnits units
)
function MaxUnit(units);

Parameters

units
Type: CinemachineCinemachinePathBasePositionUnits
The uniot type

Return Value

Type: Single
The maximum allowable value for this path
See Also