A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/googlevr/gvr-unity-sdk/issues/944 below:

Manually setting GvrPointerInputModule.Pointer · Issue #944 · googlevr/gvr-unity-sdk · GitHub

This repository was archived by the owner on Nov 8, 2019. It is now read-only.

This repository was archived by the owner on Nov 8, 2019. It is now read-only.

Manually setting GvrPointerInputModule.Pointer #944

Description

When you manually set the GvrPointerInputModule.Pointer, the GvrPointerGraphicRaycaster doesn't clear the cachedPointerEventCamera field. Adding

if (cachedPointerEventCamera != null &&
    cachedPointerEventCamera.gameObject != GvrPointerInputModule.Pointer.PointerTransform.gameObject)
{
    cachedPointerEventCamera = null;
}

between line 175 and 176 in GvrPointerGraphicRaycaster will fix this issue.

Found using Gvr v1.150.0

Metadata Metadata

Assignees

No one assigned

Development

No branches or pull requests Issue actions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4