Struct EntityAIContext
Assembly: Dew.Core.dll
Syntax
public struct EntityAIContext
Fields
targetEnemyLastKnownPosition
Declaration
public Vector3? targetEnemyLastKnownPosition
Field Value
| Type |
Description |
| UnityEngine.Vector3? |
|
Properties
deltaTime
Usually similar to aiInterval of this entity, but this can get longer if AI congestion control is active.
Declaration
public readonly float deltaTime { get; }
Property Value
targetEnemy
Get this entity's primary target enemy.
Declaration
public readonly Entity targetEnemy { get; }
Property Value
targetEnemyElapsedTime
Get elapsed time since this entity chose its primary target enemy.
Declaration
public float targetEnemyElapsedTime { get; }
Property Value