예제 #1
0
    void Update()
    {
        inputHorizontal = Input.GetAxisRaw("Horizontal");
        inputVertical   = Input.GetAxisRaw("Vertical");



        if (Input.GetButtonDown("Jump"))
        {
            if (jumppingFlug)
            {
                Jump();
            }
        }

        touchCheck = collisionCheck.GetTouchChecked();
        floorCheck = collisionCheck.GetFloorChecked();
    }