|
@@ -28,10 +28,6 @@
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*****************************************************************************/
|
|
*****************************************************************************/
|
|
|
|
|
|
-#if (UNITY_5_0 || UNITY_5_1 || UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7)
|
|
|
|
-#define PREUNITY_5_2
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
using UnityEngine;
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
using UnityEditor;
|
|
using Spine;
|
|
using Spine;
|
|
@@ -44,7 +40,6 @@ namespace Spine.Unity.Editor {
|
|
public class SkeletonGraphicInspector : UnityEditor.Editor {
|
|
public class SkeletonGraphicInspector : UnityEditor.Editor {
|
|
SerializedProperty material_, color_;
|
|
SerializedProperty material_, color_;
|
|
SerializedProperty skeletonDataAsset_, initialSkinName_;
|
|
SerializedProperty skeletonDataAsset_, initialSkinName_;
|
|
- #if !PREUNITY_5_2
|
|
|
|
SerializedProperty startingAnimation_, startingLoop_, timeScale_, freeze_, unscaledTime_, tintBlack_;
|
|
SerializedProperty startingAnimation_, startingLoop_, timeScale_, freeze_, unscaledTime_, tintBlack_;
|
|
SerializedProperty raycastTarget_;
|
|
SerializedProperty raycastTarget_;
|
|
|
|
|
|
@@ -230,7 +225,5 @@ namespace Spine.Unity.Editor {
|
|
}
|
|
}
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
-
|
|
|
|
- #endif
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|