Пример #1
0
        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();
        }
Пример #2
0
 public UnitConfigCategory()
 {
     Instance = this;
 }