Ejemplo n.º 1
0
    void DetailWindowRender(int windowId)
    {
        if (GUI.Button(new Rect(10, 20, 80, 40), "camera move"))
        {
            cameraController.setIsMoving(true);
        }

        if (GUI.Button(new Rect(10, 70, 80, 40), "capture") && isCapturing == false)
        {
            isCapturing = true;

            detailView.AddCaptureCallback(doneCapture);
            detailView.Capture();
        }

        if (GUI.Button(new Rect(10, 120, 80, 40), "page view"))
        {
            SceneManager.LoadScene("PageScene");
        }
    }