Skip to main content

Actor

Actors are runtime entities that contain Stats and participate in Effect interactions.

Actor reference

Fields

FieldDescription
ExtensionsA dictionary of Extension components that add additional functionality to an Actor. Extensions in this dictionary are initialized automatically and can interact with each other.
Initialize On LoadWhen enabled, the Actor initializes itself automatically in its Awake method without requiring an external initialization call.
Predefined Instance IdBy default, Actors are assigned an incrementing Instance Id at runtime, starting from 0. Enable this option to assign a specific Instance Id instead. This is primarily useful for log filtering, allowing you to view logs generated only by this Actor.
Stat Repository DefinitionDefines the Stat Repository Definition used to initialize the Actor's Stats.
Effect Process DefinitionDefines the Effect Process Definition that determines which Processors handle Effects sent to this Actor.