mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 10:16:01 +08:00
[unity] Build compile error after commit 01b8c06 due to unguarded using UnityEditor.namespace. Closes #2222.
This commit is contained in:
parent
01b8c06800
commit
07b54ee18e
@ -28,8 +28,10 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEditor.Animations;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
using UnityEditor.Animations;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Spine.Unity {
|
namespace Spine.Unity {
|
||||||
[RequireComponent(typeof(Animator))]
|
[RequireComponent(typeof(Animator))]
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user