Пример #1
0
        public static void LoadCategories()
        {
            loadedCategories.Clear();

            EditorExtensions.LoadAssetsToList(loadedCategories, "t:productioncategory");

            loadedDatasCount = loadedCategories.Count;
        }
Пример #2
0
        static void LoadUnitDatas()
        {
            loadedUnitDatas.Clear();

            EditorExtensions.LoadAssetsToList(loadedUnitDatas, "t:unitdata");

            loadedDatasCount = loadedUnitDatas.Count;
        }
Пример #3
0
        static void Load()
        {
            var storages = new List <Storage>();

            EditorExtensions.LoadAssetsToList(storages, "t:storage");

            if (storages.Count > 0)
            {
                loadedStorage = storages[0];
            }

            storageDatasFoundCount = storages.Count;
        }