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