Skip to content

Commit

Permalink
긴급 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Noewewwwew committed Mar 15, 2024
1 parent 354f5c5 commit 63be727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/MovementStates/MovementStateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ void Update()
currentState.UpdateState(this);

Attack();
}
}

public void SwitchState(MovementBaseState state)
Expand All @@ -79,6 +80,7 @@ void GetDirectionAndMove()

controller.Move(moveDir * currentMoveSpeed * Time.deltaTime);
}

public bool IsGrounded()
{
spherePos = new Vector3(transform.position.x, transform.position.y - groundYOffset, transform.position.z);
Expand Down

0 comments on commit 63be727

Please sign in to comment.