mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Merge pull request #436 from Fenrisul/master
[Unity] Patched Unity 5.1 problem with compiler directives
This commit is contained in:
commit
876b845d16
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user