chore: fix SceneManagement editor using declaration on unity 2021 (#483)

This commit is contained in:
kaikoga 2023-10-09 15:55:27 +09:00 committed by GitHub
parent b8f786dc4b
commit f538bf842f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,11 @@
using UnityEditor; using UnityEditor;
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#else
using UnityEditor.Experimental.SceneManagement; using UnityEditor.Experimental.SceneManagement;
#endif
using UnityEngine; using UnityEngine;
namespace nadena.dev.modular_avatar.core.editor namespace nadena.dev.modular_avatar.core.editor