Пример #1
0
 void Update()
 {
     //todo this could move to using the event instead of polling
     if (allInitStarted && CSVWrangler.Instance().ActiveDownloads.Count == 0 && !allInitComplete)
     {
         UpdateOfCSVsComplete();
     }
 }
Пример #2
0
        public void OnForceTablesUpdate()
        {
            if (allInitComplete)
            {
                //already finished and forced reset
                allInitComplete = false;
                foreach (GameObject go in flipActiveWhenInited)
                {
                    if (go != null)
                    {
                        go.SetActive(!go.activeInHierarchy);
                    }
                }
            }

            CSVWrangler.Instance().InitFromSettings(settings);
            allInitStarted = true;
        }