系统添加缓存实体机制避免频繁开销
This commit is contained in:
@@ -88,6 +88,11 @@ export interface IScene {
|
||||
*/
|
||||
createEntity(name: string): Entity;
|
||||
|
||||
/**
|
||||
* 清除所有EntitySystem的实体缓存
|
||||
*/
|
||||
clearSystemEntityCaches(): void;
|
||||
|
||||
/**
|
||||
* 添加实体
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user