Эх сурвалжийг харах

[unity] Remove old Unity 4 call.

pharan 8 жил өмнө
parent
commit
08403fa7ca

+ 0 - 3
spine-unity/Assets/spine-unity/Editor/SkeletonBaker.cs

@@ -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);
 				}