void Update() { inputHorizontal = Input.GetAxisRaw("Horizontal"); inputVertical = Input.GetAxisRaw("Vertical"); if (Input.GetButtonDown("Jump")) { if (jumppingFlug) { Jump(); } } touchCheck = collisionCheck.GetTouchChecked(); floorCheck = collisionCheck.GetFloorChecked(); }