コード例 #1
0
ファイル: UnitConfig.cs プロジェクト: Rynmiles/ET
        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;
 }