Search Results for

    Show / Hide Table of Contents

    Struct EntityAIContext

    Namespace: Global
    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
    Type Description
    float

    targetEnemy

    Get this entity's primary target enemy.

    Declaration
    public readonly Entity targetEnemy { get; }
    Property Value
    Type Description
    Entity

    targetEnemyElapsedTime

    Get elapsed time since this entity chose its primary target enemy.

    Declaration
    public float targetEnemyElapsedTime { get; }
    Property Value
    Type Description
    float
    In This Article
    Back to top Shape of Dreams API Documentation