跳转到内容

stepScriptGraphs

此内容尚不支持你的语言。

stepScriptGraphs(world, commands, dt, states, resolveGraph?, onProblem?, input?): void

Defined in: logic/ScriptGraphPlugin.ts:89

Advance every ScriptGraphAgent one tick, and run event.destroy for the ones that left. Presence is diffed against the live query rather than watching for removals, so a graph’s teardown fires the frame its entity drops out however it left — the defineBehavior lifecycle contract.

ScriptGraphWorldView

CommandsInstance

number

Map<number, AgentState>

(ref) => CompiledScriptGraph | undefined

(entity, message) => void

InputState = ...

void