mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Removed useAnimationName from spine-tk2d.
This commit is contained in:
parent
9a347d5eb8
commit
da7ef99c34
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user