예제 #1
0
        private static void Init()
        {
            config = DatabaseLoader.LoadDatabaseConfig();

            if (config == null)
            {
                Debug.LogWarning("Database not created properly. Make sure to open Tools/Database to create it.");
            }
        }
예제 #2
0
        public void Load()
        {
            var databaseEntries = DatabaseLoader.LoadDatabaseAssets();

            foreach (var dbentry in databaseEntries)
            {
                _entries.Add(dbentry.GetType(), dbentry);
            }
        }