public IEnumerator InitHapticsSystem()
 {
     while(!IsDeviceCalibrated())
     {
     Debug.LogWarning("Please calibrate the device!");
     yield return new WaitForSeconds(1.5f);
     }
     if(!IsDeviceReady())
     Debug.LogError("Device is not ready!");
     main = this;
 }
示例#2
0
 public IEnumerator InitHapticsSystem()
 {
     while (!IsDeviceCalibrated())
     {
         Debug.LogWarning("Please calibrate the device!");
         yield return(new WaitForSeconds(1.5f));
     }
     if (!IsDeviceReady())
     {
         Debug.LogError("Device is not ready!");
     }
     main = this;
 }