UNITY

포스트: 52|조회수: 0|ORGANIZATION
Items

Posts

52 posts

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

개발자 SPRING|2018년 11월 11일

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

reference for Legacy to Mechanim in UNITY

개발자 SPRING|2018년 10월 22일

이제는 거의 당연하게 써야만 하는 분위기인 메카님 입니다.기존에 레거시 애니메이션으로 만들어 뒀던 것을 최신 버전으로 포팅하면서 메카님으로 변경하려는데, 어떠 자료가 있는지 찾아 봤습니다....만, 의외로 관련 자료가 많지는 않네요. 처음부터 메카님으로 만드는 과정은 많지만...뭐든지 쉬운 것이 없어요~ ...

[에러 대응] Ambiguous reference 'preview': CameraMotionBlurEditor.preview, UnityEditor.Editor.preview.

개발자 SPRING|2018년 8월 22일

var preview : SerializedProperty; to var preview_ : SerializedProperty; preview_ = serObj.FindProperty ("preview");EditorGUILayout.PropertyField (preview_, new GUIContent("Preview"));if (preview_.boolValue)

[경고&에러 대응] `UnityEditor.EditorUtility' does not contain a definition for `GetAssetPreview'

개발자 SPRING|2018년 8월 21일

....#if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 || UNITY_3_6 || UNITY_3_7 || UNITY_3_8 || UNITY_3_9) bodyPreview = (Texture2D)EditorUtility.GetAssetPreview(bodyObject);#else bodyPreview = (Texture2D)AssetPreview.GetAssetPreview(bodyObject);#endif ... #if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 ||