void Update() { //todo this could move to using the event instead of polling if (allInitStarted && CSVWrangler.Instance().ActiveDownloads.Count == 0 && !allInitComplete) { UpdateOfCSVsComplete(); } }
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; }