Vixen
02b45cc4
csharp
public struct BehaviorRef

The behaviours attached to an entity.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A managed component, because a Behavior is a reference type — the case [04](../../../docs/plan/04-ecs-and-scripting.md) names when it explains why managed components exist at all. It is the link from the entity to its behaviours; the store's typed buckets are what the per-frame loop walks, and they are what makes the loop monomorphic and contiguous.

Fields and properties (1)

  • public Behavior[] Items

    The behaviours, in the order they were attached.

Used by (1)

  • BehaviorStoreVixen.Engine