Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

Brain

Runs a behaviour on this entity (authoring).

public struct Brain : IComponent<Brain>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Behavior

public string Behavior;

Behaviour graph asset (@ai/guard.behavior#gr_...).

Default: null.

Overrides

public string[] Overrides;

Blackboard overrides as name = expression (no IDs), e.g. route = [vec3(0, 0, 4), vec3(8, 0, 4)].

Default: [].

Enabled

public bool Enabled;

Whether the brain thinks.

Default: true.

Methods

Access

public static ref Brain Access(Entity entity, bool write);

No description yet.

Insert

public static void Insert(in Commands commands, Entity entity, in Brain value);

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.