SystemOptions
此内容尚不支持你的语言。
Defined in: ecs/system.ts:174
Ordering a system carries with it. The names are matched against other systems’ names and against SystemSet names, so a set can be ordered against without knowing which systems are in it.
Properties
Section titled “Properties”
optionalname?:string
Defined in: ecs/system.ts:176
Name other systems reference in their ordering edges.
runAfter?
Section titled “runAfter?”
optionalrunAfter?:string[]
Defined in: ecs/system.ts:180
This system runs after each of these names (a system or a set).
runBefore?
Section titled “runBefore?”
optionalrunBefore?:string[]
Defined in: ecs/system.ts:178
This system runs before each of these names (a system or a set).
touches?
Section titled “touches?”
optionaltouches?:SystemTouches| (() =>SystemTouches)
Defined in: ecs/system.ts:188
What the system reaches for through GetWorld. See SystemTouches.
A function is re-read every time the access is, which is what lets a system running authored data (an FSM, a behaviour tree) answer from the data actually loaded rather than from everything it could ever be handed.