From da7ef99c346bbc3895a56f1644f890e8055c0935 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 4 Oct 2013 22:55:09 +0200 Subject: [PATCH] Removed useAnimationName from spine-tk2d. --- spine-tk2d/Assets/Spine/SkeletonAnimation.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/spine-tk2d/Assets/Spine/SkeletonAnimation.cs b/spine-tk2d/Assets/Spine/SkeletonAnimation.cs index 301d8cea1..76ab0bef6 100644 --- a/spine-tk2d/Assets/Spine/SkeletonAnimation.cs +++ b/spine-tk2d/Assets/Spine/SkeletonAnimation.cs @@ -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)