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.
Parameters
Section titled “Parameters”ScriptGraphWorldView
commands
Section titled “commands”number
states
Section titled “states”Map<number, AgentState>
resolveGraph?
Section titled “resolveGraph?”(ref) => CompiledScriptGraph | undefined
onProblem?
Section titled “onProblem?”(entity, message) => void
input?
Section titled “input?”InputState = ...
Returns
Section titled “Returns”void