Method GetInputAxisProvider
GetInputAxisProvider(CinemachineVirtualCameraBase)
Locate the first component that implements AxisState.IInputAxisProvider.
Declaration
public static AxisState.IInputAxisProvider GetInputAxisProvider(this CinemachineVirtualCameraBase vcam)
Parameters
Type | Name | Description |
---|---|---|
CinemachineVirtualCameraBase | vcam | The virtual camera in queston |
Returns
Type | Description |
---|---|
AxisState.IInputAxisProvider | The first AxisState.IInputAxisProvider or null if none |