|
@@ -51,8 +51,10 @@
|
|
#define SPINE_OPTIONAL_MATERIALOVERRIDE
|
|
#define SPINE_OPTIONAL_MATERIALOVERRIDE
|
|
|
|
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
-using UnityEditor.SceneManagement;
|
|
|
|
using UnityEngine;
|
|
using UnityEngine;
|
|
|
|
+#if UNITY_EDITOR
|
|
|
|
+using UnityEditor.SceneManagement;
|
|
|
|
+#endif
|
|
|
|
|
|
namespace Spine.Unity {
|
|
namespace Spine.Unity {
|
|
/// <summary>Base class of animated Spine skeleton components. This component manages and renders a skeleton.</summary>
|
|
/// <summary>Base class of animated Spine skeleton components. This component manages and renders a skeleton.</summary>
|