경고

포스트: 29
Tags

Posts

29 posts

[경고&에러 대응] `UnityEditor.EditorApplication.playmodeStateChanged' is obsolete

개발자 SPRING|2018년 8월 18일

void OnEnable() { if (!IsUnityWritingToPlist()) RefreshKeys(); //Make sure we never subscribe twice as OnEnable will be called more often then you think :) EditorApplication.playmodeStateChanged -= OnPlayModeStateChanged; EditorApplication.playmodeStateChanged += OnPlayModeStateChanged; } private void OnPlayModeStateChanged() { waitTillPlistHas

[경고&에러 대응] `UnityEditor.EditorGUIUtility.LookLikeControls(float)' is obsolete

개발자 SPRING|2018년 8월 17일

EditorGUIUtility.LookLikeControls(labelWidth); -> EditorGUIUtility.labelWidth = labelWidth;

[경고&에러 대응] `UnityEditor.EditorApplication.currentScene' is obsolete

개발자 SPRING|2018년 8월 15일

mParam.Reference = mParam.Value.name + "(" + EditorApplication.currentScene+")"; -> using UnityEditor.SceneManagement; mParam.Reference = mParam.Value.name + "(" + EditorSceneManager.GetActiveScene ().name + ")";//EditorApplication.currentScene+")";

[경고&에러 대응] UnityEngine.ParticleSystem.enableEmission' is obsolete

개발자 SPRING|2018년 8월 14일

foreach (ParticleSystem em in pss)if (em != null) { em.enableEmission = false;} -> foreach (ParticleSystem em in pss)if (em != null) { var emission = em.emission; //added for unity2017 emission.enabled = false; //em.enableEmission = false; //modified for unity2017}