private IEnumerator WaitForSettingsToSet() { while (_settings == null) { _settings = FindObjectOfType <Settings.Global>(); yield return(new UnityEngine.WaitForSeconds(1)); } }
private IEnumerator WaitForSettingsToSet() { while (_settings == null) { _settings = FindObjectOfType<Settings.Global>(); yield return new UnityEngine.WaitForSeconds(1); } }