TargetingSwitchingSettings
Class in Zigurous.CameraSystem
Inherits from CameraBehaviorSettings
Declaration
[Serializable]
public sealed class TargetingSwitchingSettings : CameraBehaviorSettingsDescription
Settings for a camera targeting module to indicate how the camera switches between targets.
Properties
| stickyDuration | The amount of seconds before another target can be switched to. This ensures targets are not switched to accidentally based on the sensitivity of the input device. |
| inputSensitivity | The sensitivity multiplier applied to inputs to prevent switching targets too quickly. |
| inputDecay | The rate at which input values decay back to zero. The decay is used to force a quick input movement rather than a continuous slow movement. |
Inherited
Properties
| active | Whether the settings are active on a camera profile. Inactive settings will not display in the editor. |
| enabled | Turns on or off the settings behavior. Enabled behaviors are updated every frame. |
| isActiveAndEnabled | Whether the settings are active and enabled. |