Class CinemachineInputProviderExtensions
IInputAxisProvider is deprecated. Use InputAxis and InputAxisController instead.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Obsolete("IInputAxisProvider is deprecated. Use InputAxis and InputAxisController instead")]
public static class CinemachineInputProviderExtensions
Methods
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 |