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