コード例 #1
0
ファイル: CanFire.cs プロジェクト: huangzhiquan497/Fishing
    // Update is called once per frame

    void Update()
    {
        if (fingerDown)
        {
            // if (Input.GetMouseButton(0))
            {
                Vector3 worldpos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
                if (worldpos.y < -340)
                {
                    return;
                }
                MobileInterface.Player_Aim(worldpos);
            }
        }
    }