* 从组件索引中移除系统 * * Remove a system from all component indices. * * @param system 要移除的系统 | The system to remove
(system: EntitySystem)
| 758 | * @param system 要移除的系统 | The system to remove |
| 759 | */ |
| 760 | private removeSystemFromIndex(system: EntitySystem): void { |
| 761 | this._globalNotifySystems.delete(system); |
| 762 | |
| 763 | for (const systems of this._componentIdToSystems.values()) { |
| 764 | systems.delete(system); |
| 765 | } |
| 766 | } |
| 767 | |
| 768 | /** |
| 769 | * 在场景的实体列表中添加一个实体 |
no test coverage detected