* 清除所有EntitySystem的实体缓存 * 当实体或组件发生变化时调用
()
| 636 | * 当实体或组件发生变化时调用 |
| 637 | */ |
| 638 | public clearSystemEntityCaches(): void { |
| 639 | for (const system of this.systems) { |
| 640 | system.clearEntityCache(); |
| 641 | } |
| 642 | } |
| 643 | |
| 644 | /** |
| 645 | * 通知相关系统实体的组件发生了变化 |
no test coverage detected