Method MaxUnit
MaxUnit(PositionUnits)
Get the maximum value, for the given unit type
Declaration
public float MaxUnit(CinemachinePathBase.PositionUnits units)
Parameters
| Type | Name | Description |
|---|---|---|
| CinemachinePathBase.PositionUnits | units | The unit type |
Returns
| Type | Description |
|---|---|
| float | The maximum allowable value for this path |