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