Protected Properties

PropertyTypeDescription
contextExecutionContextThe execution context this element belongs to. Available after Initialize() is called. Use it to access context.inventory, context.player, and context.carryTarget.
parentExecutionContextElementThe original scene element this clone was created from. null on the scene original itself.

Public Properties

PropertyTypeDescription
IsRootboolTrue if this element has no parent ExecutionContextElement in the hierarchy. Only root elements are cloned at execution start.

Virtual Methods

MethodDescription
Initialize(
  ExecutionContext context,
  ExecutionContextElement parent)
Called when the execution clone is created. Sets context and parent. Override to add element-specific initialization — always call base.Initialize() first.

Protected Methods

MethodReturnsDescription
ExecutionReference<T>()TReturns the execution-context clone of this element cast to T. Use this inside methods called from scene originals when you need to operate on the runtime clone instead.
ℹ️