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