コード例 #1
0
        public void Push(Vector2 direction)
        {
            if (MovementTween.IsActive())
            {
                return;
            }
            if (TestMove(GlobalTransform, direction * 6))
            {
                return;
            }

            AnimationPlayer.Play("Roll");
            StartMovementTween(direction);
        }