* 声明此系统在指定系统之前执行 * Declare this system executes before specified systems * * @param systems 系统名称列表 | System names * @returns this (用于链式调用 | for chaining) * * @example * ```typescript * class MySystem extends EntitySystem { * constructor() { *
(...systems: string[])
| 345 | * ``` |
| 346 | */ |
| 347 | public before(...systems: string[]): this { |
| 348 | this._schedulingMetadata.before.push(...systems); |
| 349 | this._scene?.markSystemsOrderDirty(); |
| 350 | return this; |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * 声明此系统在指定系统之后执行 |
nothing calls this directly
no test coverage detected