Scale a float value by a constant factor.
Inheritance
System.Object
ScaleProcessor
public class ScaleProcessor : InputProcessor<float>
Fields
Declaration
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public override float Process(float value, InputControl<float> control)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
InputControl<System.Single> |
control |
|
Returns
Type |
Description |
System.Single |
|
Overrides
UnityEngine.InputSystem.InputProcessor<System.Single>.Process(System.Single, UnityEngine.InputSystem.InputControl<System.Single>)