コード例 #1
0
    // 입력받은 좌표 받기
    public Vector3 poolInput()
    {
        float   h       = attackBtn.GetHorizontalValue();
        float   v       = attackBtn.GetVerticalValue();    // y축 사용시 활성화
        Vector3 moveDir = new Vector3(h, v, 0).normalized; // y축사용시 인자(h, v, 0)

        return(moveDir);
    }