[경고&에러 대응] UnityEditor.EditorApplication.SaveScene(string)' is obsolete by pbkim

EditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity");

->

#if UNITY_2017_2_OR_NEWER   
EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), "Assets/seven/Scene/BattleScene/" + sceneName + ".unity");
#else
EditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity");
#endif


구글 468*60


Linked in

linknow profile