MCPcopy Create free account
hub / github.com/esengine/esengine / setPersistent

Method setPersistent

packages/core/src/ECS/Systems/EntityCache.ts:67–69  ·  view source on GitHub ↗

* 设置持久缓存 * * @param entities 要缓存的实体列表

(entities: readonly Entity[])

Source from the content-addressed store, hash-verified

65 * @param entities 要缓存的实体列表
66 */
67 public setPersistent(entities: readonly Entity[]): void {
68 this._persistentCache = entities;
69 }
70
71 /**
72 * 获取被跟踪的实体集合

Callers 1

entitiesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected