public static void LoadCategories() { loadedCategories.Clear(); EditorExtensions.LoadAssetsToList(loadedCategories, "t:productioncategory"); loadedDatasCount = loadedCategories.Count; }
static void LoadUnitDatas() { loadedUnitDatas.Clear(); EditorExtensions.LoadAssetsToList(loadedUnitDatas, "t:unitdata"); loadedDatasCount = loadedUnitDatas.Count; }
static void Load() { var storages = new List <Storage>(); EditorExtensions.LoadAssetsToList(storages, "t:storage"); if (storages.Count > 0) { loadedStorage = storages[0]; } storageDatasFoundCount = storages.Count; }