TargetingSettings


Declaration

[Serializable]
public sealed class TargetingSettings : CameraBehaviorSettings<Targeting>

Description

Settings for a camera targeting behavior.

Properties

lockOnButtonThe input button to toggle on/off target lock.
locatingSettings to indicate how the camera locates targets.
lookAtSettings to indicate how the camera looks at targeted objects.
lineOfSightSettings to indicate how the camera checks if a target is visible.
switchingSettings to indicate how the camera switches between targets.
recenteringSettings to indicate how the camera recenters back to a forward position.
userInterfaceSettings to indicate how the camera displays tracking UI.
Inherited

Properties

activeWhether the settings are active on a camera profile. Inactive settings will not display in the editor.
enabledTurns on or off the settings behavior. Enabled behaviors are updated every frame.
isActiveAndEnabledWhether the settings are active and enabled.