using System.Collections.Generic; namespace ET { public interface IUnitCache { } // 一个UnitCache对应一种实现了IUnitCache的类型 public class UnitCache : Entity, IAwake, IDestroy { public string key; public Dictionary CacheComponentsDict = new Dictionary(); } }