示例#1
0
    void Update()
    {
        if (browserTexture != null && browserTexture.Focused)
        {
            // handle the case where the user hits esc to exit SnapCam mode
            if (MainCameraController.Inst.cameraType != CameraType.SNAPCAM)
            {
                browserTexture.Unfocus();
            }

            PlayerManager.playerController.lockMovement = true;
        }
    }