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; }
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; }