TargetingLocatingSettings


Declaration

[Serializable]
public sealed class TargetingLocatingSettings : CameraBehaviorSettings

Description

Settings for a camera targeting module to indicate how the camera locates targets.

Properties

targetableLayersThe Unity layer(s) of the objects that can be targeted.
radiusThe maximum distance objects can be targeted from the camera.
maxTargetsThe maximum amount of targets to locate within a single search (used for optimization purposes).
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.