public void Jump() { _rigid.velocity = new Vector2(_rigid.velocity.x, jump_Power); player_SE.Play_Jump_Sound(); player_Effect.Play_Jump_Effect(); _controller.Change_Animation("JumpBool"); _controller.is_Landing = false; }
public void Jump() { _rigid.velocity = new Vector2(_rigid.velocity.x, jump_Power); player_SE.Play_Jump_Sound(); player_Effect.Play_Jump_Effect(); _controller.Change_Animation("JumpBool"); _controller.is_Landing = false; //大ジャンプ、中ジャンプ、小ジャンプ区別用 is_Jumping = true; jumping_Time = 0; slow_Down_Time = 100f; }