fix: fix compile error in Unity 2021.1 or older

This commit is contained in:
mob-sakai
2024-02-01 16:12:01 +09:00
parent 9d04e41cde
commit 841e449f78
2 changed files with 4 additions and 1 deletions

View File

@@ -6,10 +6,13 @@ using UnityEditor.UI;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.UI;
using Coffee.UIParticleExtensions;
#if UNITY_2021_2_OR_NEWER
using UnityEditor.Overlays;
#else
using System;
using System.Reflection;
using Object = UnityEngine.Object;
#endif
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;