Class TargetInRangeCon
- Namespace
- VoxelPlayground.AI
- Assembly
- GamePlay.dll
[CreateAssetMenu(fileName = "TargetInRange", menuName = "VoxelPlayground/AI/Consideration/TargetInRange", order = 1)]
public class TargetInRangeCon : AIConsideration
- Inheritance
-
object
TargetInRangeCon
- Inherited Members
-
- Extension Methods
-
Fields
attackingTolerance
public float attackingTolerance
Field Value
- float
compareType
public CompareType compareType
Field Value
- CompareType
dayTimeVisibilityMultiplier
[Tooltip("When compareType is Greater, this value is recommended to be 1.0f")]
public float dayTimeVisibilityMultiplier
Field Value
- float
overridedByRangedWeaponRange
public bool overridedByRangedWeaponRange
Field Value
- bool
rangeAdjust_TimerName
public string rangeAdjust_TimerName
Field Value
- string
rangeAdjust_value
public float rangeAdjust_value
Field Value
- float
useFeetCenterPos
[Tooltip("UseFeetCenterPos is recommended for all entities. If true, the range will be checked from the feet center of the entity.")]
public bool useFeetCenterPos
Field Value
- bool
visibleRange
public float visibleRange
Field Value
- float
Methods
Evaluate()
public override bool Evaluate()
Returns
- bool