Пример #1
0
 void Awake()
 {
     if (_fove == null)
     {
         _fove = FindObjectOfType(typeof(FoveInterface2)) as FoveInterface2;
         if (_fove == null)
         {
             Debug.LogError("No FoveInterface2 object found in the scene! :");
             return;
         }
     }
 }