(changedComponentType?: ComponentType)
| 430 | } |
| 431 | |
| 432 | private notifyQuerySystems(changedComponentType?: ComponentType): void { |
| 433 | if (!this.scene?.querySystem) return; |
| 434 | |
| 435 | this.scene.querySystem.updateEntity(this); |
| 436 | this.scene.clearSystemEntityCaches(); |
| 437 | this.scene.notifyEntityComponentChanged?.(this, changedComponentType); |
| 438 | } |
| 439 | |
| 440 | /** |
| 441 | * @zh 添加组件到实体 |
no test coverage detected