TargetingLocatingModule

Inherits from TargetingModule<T>

Declaration

public sealed class TargetingLocatingModule : TargetingModule<TargetingLocatingSettings>

Description

A camera targeting module to locate targets within the camera's view.

Methods

FindNearestTargetFinds the nearest targetable transform within the camera's view frustum.
FindNearestTargetRightFinds the nearest targetable transform within the camera's view frustum to the right of the current target.
FindNearestTargetLeftFinds the nearest targetable transform within the camera's view frustum to the left of the current target.
Inherited

Properties

settingsThe settings for the behavior.
enabledEnables or disables the behavior from being updated.
controllerThe camera controller handling the module.
registeredWhether the module has been registered to a controller.
idThe unique identifier of the camera module.