Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Provide a WebVR device emulator #217

Closed
delapuente opened this issue Mar 28, 2018 · 4 comments
Closed

Provide a WebVR device emulator #217

delapuente opened this issue Mar 28, 2018 · 4 comments

Comments

@delapuente
Copy link
Contributor

It would be nice if we can provide a device emulator for the Unity editor emulating the behaviour of the template in the browser so development would be confined to Unity only,

@caseyyee
Copy link
Contributor

@delapuente I think this commit fixes this issue? 205eb28

@delapuente
Copy link
Contributor Author

This is for emulating the events happening in the browser. For instance, suppose we want to simulate we are switching off or disconnecting one of the controllers. This will happen on the WebVR side and handled in the browser resulting in some messages being dispatched to the C# code. In this emulator, we'd simulate sending those messages.

@caseyyee
Copy link
Contributor

Gotcha. That makes sense.

@caseyyee
Copy link
Contributor

caseyyee commented Sep 6, 2018

Implemented as part of cross-platform support #306

Still need to support controller disconnects (as per your example), but at least they are handled in the same way now.

@caseyyee caseyyee closed this as completed Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants