[에러&경고 대응] `UnityEngine.Input' does not contain a definition for `lastLocation'

11/11/2018 / 개발자 SPRING

Tag Count: 6 / Hit: 0

float x = Input.lastLocation.longitude;float y = Input.lastLocation.longitude;float z = Input.lastLocation.longitude; -> iPhone에서의 대응 float x = iPhoneInput.lastLocation.longitude;float y = iPhoneInput.lastLocation.longitude;float z = iPhoneInput.lastLocation.longitude; -> 어차피 lastLocation 부분이 사라져서 다시 바꿔야 함 float x = Input.location.lastData.longitude;float y = Input.location.lastData.long