コード例 #1
0
 public void ResetAnimations()
 {
     if (itemTexAndAnimation.animationFrames.Count != 0 && itemTexAndAnimation.animationFrames.Count != 1)
     {
         itemTexAndAnimation.SimpleReset();
     }
 }
コード例 #2
0
        public override void Dispose()
        {
            base.Dispose();
            currentState = ButtonState.NON_CLICKED;

            ButtonAnim_RestState.SimpleReset();
            ButtonAnim_HoverState.SimpleReset();
            ButtonAnim_ClickState.SimpleReset();
        }