Exemple #1
0
        private void Awake()
        {
            ConsoleLog.Initialize();
            TextureManager.Initialize();
            FileReference.Initialize();
            CacheDetails.Initialize();

            // If game directory hasn't been set, Open "Locate Outpost2" dialog to force user to select one
            if (string.IsNullOrEmpty(UserPrefs.gameDirectory))
            {
                PreferencesDialog.Create();
            }

            Debug.Log("Hub initialized.");
        }