예제 #1
0
파일: KeyBind.cs 프로젝트: Woonsama/Dobby
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.Z))
        {
            touch.TouchUp_PointerDown();
        }
        if (Input.GetKeyUp(KeyCode.Z))
        {
            touch.TouchUp_PointerUp();
        }

        if (Input.GetKeyDown(KeyCode.X))
        {
            touch.TochDown_PointerDown();
        }
        if (Input.GetKeyUp(KeyCode.X))
        {
            touch.TochDown_PointerUp();
        }
    }