mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Remove old Unity 4 call.
This commit is contained in:
parent
b40eba2a31
commit
08403fa7ca
@ -134,9 +134,6 @@ namespace Spine.Unity.Editor {
|
||||
//generate new dummy clip
|
||||
AnimationClip newClip = new AnimationClip();
|
||||
newClip.name = name;
|
||||
#if !(UNITY_5)
|
||||
AnimationUtility.SetAnimationType(newClip, ModelImporterAnimationType.Generic);
|
||||
#endif
|
||||
AssetDatabase.AddObjectToAsset(newClip, controller);
|
||||
unityAnimationClipTable.Add(name, newClip);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user