[에러 대응] Ambiguous reference 'preview': CameraMotionBlurEditor.preview, UnityEditor.Editor.preview.
By 개발자 SPRING | 2018년 8월 22일 |
var preview : SerializedProperty; to var preview_ : SerializedProperty; preview_ = serObj.FindProperty ("preview");EditorGUILayout.PropertyField (preview_, new GUIContent("Preview"));if (preview_.boolValue)
unity 5.3.2 에서 발견된 android 버그
By 리틀윙소프트 공식 블로그 | 2016년 2월 26일 |
2d sprite 나 쿼드 등에 에니메이션이 적용됐을때 Rotation Property 가 들어가면 안드로이드 폰에서 안보이는 버그가 있음. 해결방법은 Rotation 키의 Interpolation 을 Euler Angles 에서 Euler Angles(Quaternion Approximation ) 로 바꿔주는것
[경고&에러 대응] OnLevelWasLoaded is deprecated
By 개발자 SPRING | 2018년 8월 1일 |
The new way: using UnityEngine.SceneManagement; void OnEnable() { //Tell our 'OnLevelFinishedLoading' function to start listening for a scene change as soon as this script is enabled. SceneManager.sceneLoaded += OnLevelFinishedLoading; } void OnDisable() { //Tell our 'OnLevelFinishedLo