Targeting.TryTargeting

Method in Targeting

Declaration

public bool TryTargeting(Transform newTarget)

Description

Attempts to target the given transform if it is within the target radius and line of sight.

Parameters

newTarget

Returns

boolTrue if the transform was targeted, false otherwise.