Beispiel #1
0
        public void ReloadData()
        {
            Rundown.m_dataIsSetup = false;
            Rundown.gameObject.SetActive(false);
            CleanIconsOfTier(Rundown.m_expIconsTier1);
            CleanIconsOfTier(Rundown.m_expIconsTier2);
            CleanIconsOfTier(Rundown.m_expIconsTier3);
            CleanIconsOfTier(Rundown.m_expIconsTier4);
            CleanIconsOfTier(Rundown.m_expIconsTier5);

            GameDataInit.ReInitialize();
            Rundown.gameObject.SetActive(true);
            Log.Message("Reloaded!");
        }
 public void OnHotReload(int id)
 {
     GameDataInit.ReInitialize(); // refresh game data
     Log.Verbose("Reinitialized GameData");
 }