public override void SetEntity(Entity entity) { base.SetEntity(entity); this.statInfo = entity.GetComponent <StatInfoComp>().statInfo; }
public static void RegisterStatInfo(string name, StatInfo statInfo) { statInfoMap.Add(name, statInfo); }