Commit 417aca7a authored by 16도재형's avatar 16도재형 Committed by 18류지석

로프점프 수정할거 별거없네요

parent ea567e78
......@@ -110,8 +110,8 @@ public class PlayerController : MonoBehaviour
{
if (playerState == PlayerState.Rope)
{
// Horizontal move in rope
if (horizontal != 0 && verticalRaw == 0)
// Jump or Horizontal move in rope
if (jump || (horizontal != 0 && verticalRaw == 0))
{
playerState = PlayerState.Idle;
rb.gravityScale = rbGravityScale;
......@@ -233,7 +233,7 @@ public class PlayerController : MonoBehaviour
{
ropeEnabled = false;
isJumpable = true;
yield return new WaitForSeconds(0.5f);
yield return new WaitForSeconds(0.3f);
ropeEnabled = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment