Struct CinemachineInputAxisDriver
This is a deprecated component. Use DefaultInputAxisDriver instead.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete("CinemachineInputAxisDriver has been deprecated. Use DefaultInputAxisDriver instead.")]
[Serializable]
public struct CinemachineInputAxisDriver
Fields
Name | Description |
---|---|
accelTime | The amount of time in seconds it takes to accelerate to a higher speed |
decelTime | The amount of time in seconds it takes to decelerate to a lower speed |
inputValue | The value of the input axis. A value of 0 means no input. You can drive "this directly from a custom input system, or you can set the Axis Name and have the value driven by the internal Input Manager |
multiplier | Multiply the input by this amount prior to processing. Controls the input power |
name | The name of this axis as specified in Unity Input manager. Setting to an empty string will disable the automatic updating of this axis |
Methods
Name | Description |
---|---|
Update(float, ref AxisBase) | Update the axis |
Update(float, ref AxisState) | Support for legacy AxisState struct: update the axis |
Validate() | Call from OnValidate: Make sure the fields are sensible |