Struct InputAxis.RecenteringSettings
Defines the settings for automatic re-centering
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Serializable]
public struct InputAxis.RecenteringSettings
Fields
| Name | Description |
|---|---|
| Enabled | If set, will enable automatic re-centering of the axis |
| Time | How long it takes to reach center once re-centering has started |
| Wait | If no user input has been detected on the axis for this man seconds, re-centering will begin. |
Properties
| Name | Description |
|---|---|
| Default | Default value |
Methods
| Name | Description |
|---|---|
| Validate() | Call from OnValidate: Make sure the fields are sensible |