diff --git a/spine-csharp/src/AnimationState.cs b/spine-csharp/src/AnimationState.cs index db55683b0..5cd73b7a9 100644 --- a/spine-csharp/src/AnimationState.cs +++ b/spine-csharp/src/AnimationState.cs @@ -40,7 +40,7 @@ namespace Spine { /// See Applying Animations in the Spine Runtimes Guide. /// public class AnimationState { - static readonly Animation EmptyAnimation = new Animation("", new ExposedList(), 0); + internal static readonly Animation EmptyAnimation = new Animation("", new ExposedList(), 0); /// 1) A previously applied timeline has set this property. /// Result: Mix from the current pose to the timeline pose. @@ -1253,6 +1253,10 @@ namespace Spine { /// If true, the animation will be applied in reverse. Events are not fired when an animation is applied in reverse. public bool Reverse { get { return reverse; } set { reverse = value; } } + /// Returns true if this entry is for the empty animation. See , + /// , and . + public bool IsEmptyAnimation { get { return animation == AnimationState.EmptyAnimation; }} + /// /// /// Resets the rotation directions for mixing this entry's rotate timelines. This can be useful to avoid bones rotating the