Ver código fonte

[Unity] Patched Unity 5.1 problem with compiler directives

Fenrisul 10 anos atrás
pai
commit
8e49f78bbc

+ 1 - 1
spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs

@@ -132,7 +132,7 @@ public static class SkeletonBaker {
 					unusedClipNames.Remove(clip.name);
 				} else {
 					AssetDatabase.AddObjectToAsset(clip, controller);
-#if UNITY_5_0
+#if UNITY_5
 					controller.AddMotion(clip);
 #else
 					UnityEditorInternal.AnimatorController.AddAnimationClipToController(controller, clip);