コード例 #1
0
ファイル: InputManager.cs プロジェクト: Eibis/GMining
    void LateUpdate()
    {
        if (Input.GetMouseButtonDown(0))
        {
            var mouse_pos = Input.mousePosition;
            MeshMng.RaycastQuery(MainCamera.ScreenPointToRay(mouse_pos));
        }

        if (Input.GetMouseButton(1))
        {
            UpdateRotation();
        }
    }