Removed useAnimationName from spine-tk2d.

This commit is contained in:
NathanSweet 2013-10-04 22:55:09 +02:00
parent 9a347d5eb8
commit da7ef99c34

View File

@ -40,7 +40,6 @@ using Spine;
/** Extends SkeletonComponent to apply an animation. */
[ExecuteInEditMode, RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class SkeletonAnimation : SkeletonComponent {
public bool useAnimationName;
public bool loop;
public Spine.AnimationState state;
@ -51,7 +50,6 @@ public class SkeletonAnimation : SkeletonComponent {
return entry == null ? null : entry.Animation.Name;
}
set {
if (!useAnimationName) return;
if (_animationName == value) return;
_animationName = value;
if (value == null || value.Length == 0)