public static void AvoidAOT(ConfigComponent configComponent, UnitConfigCategory category) { configComponent.Get <UnitConfig>(1); configComponent.GetCategory <UnitConfigCategory>(); configComponent.GetAll <UnitConfig>(); category.GetAll(); UnitConfig config = category[1]; config = category.TryGet(1); config = category.GetOne(); }
public UnitConfigCategory() { Instance = this; }