NetworkIdentity: fix define order for SceneManagement and use elif

This commit is contained in:
vis2k 2021-06-22 22:15:06 +08:00
parent d7373ff175
commit bb559b88eb

View File

@ -6,11 +6,10 @@
#if UNITY_EDITOR
using UnityEditor;
#if UNITY_2018_3_OR_NEWER
using UnityEditor.Experimental.SceneManagement;
#endif
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#elif UNITY_2018_3_OR_NEWER
using UnityEditor.Experimental.SceneManagement;
#endif
#endif