public void ResetAnimations() { if (itemTexAndAnimation.animationFrames.Count != 0 && itemTexAndAnimation.animationFrames.Count != 1) { itemTexAndAnimation.SimpleReset(); } }
public override void Dispose() { base.Dispose(); currentState = ButtonState.NON_CLICKED; ButtonAnim_RestState.SimpleReset(); ButtonAnim_HoverState.SimpleReset(); ButtonAnim_ClickState.SimpleReset(); }