* 检查实体是否正在被此系统跟踪 * Check if an entity is being tracked by this system * * @param entity 要检查的实体 / The entity to check * @returns 是否正在跟踪 / Whether the entity is being tracked
(entity: Entity)
| 1033 | * @returns 是否正在跟踪 / Whether the entity is being tracked |
| 1034 | */ |
| 1035 | public isTracking(entity: Entity): boolean { |
| 1036 | return this._entityCache.isTracked(entity); |
| 1037 | } |
| 1038 | |
| 1039 | /** |
| 1040 | * 当实体的组件发生变化时由 Scene 调用 |