WARNING
Posts
22 posts[경고&에러 대응] `UnityEditor.EditorWindow.title' is obsolete
title = "CustomWindow "; -> #if UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0 title = "CustomWindow "; #else titleContent = new GUIContent("CustomWindow "); #endif
[경고&에러 대응] `UnityEditor.EditorApplication.NewScene()' is obsolete
EditorApplication.SaveScene();EditorApplication.NewScene(); -> #if UNITY_2017_2_OR_NEWER //added for unity2017EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene());EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects);#elseEditorApplication.SaveScene();EditorApplication.NewScene();#endif
[경고&에러 대응] UnityEditor.EditorApplication.SaveScene(string)' is obsolete
EditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity"); -> #if UNITY_2017_2_OR_NEWER EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), "Assets/seven/Scene/BattleScene/" + sceneName + ".unity");#elseEditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity");#endif
[경고&에러 대응] `UnityEngine.Material.Material(string)' is obsolete
material = new Material ("Shader \"Lines/Colored Blended\" {" + "SubShader { Pass { " + " Blend SrcAlpha OneMinusSrcAlpha " + " ZWrite Off Cull Off Fog { Mode Off } " + " BindChannels {" + " Bind \"vertex\", vertex Bind \"color\", color }" +


