import { Monobehiver } from '../base/Monobehiver'; import { Dictionary } from '../utils/Dictionary'; /** * 管理器基类 - 提供通用的初始化和缓存能力 */ export class BaseManager extends Monobehiver { protected meshCache = new Dictionary(); protected isInitialized = false; async initialize(): Promise { if (this.isInitialized) return; this.isInitialized = true; } clean(): void { this.meshCache.Clear(); } }