MozillaReality / unity-webxr-export

INACTIVE - Assets for creating WebXR-enabled Unity3D projects.
https://mixedreality.mozilla.org/unity-webxr-export/Build/
Apache License 2.0
626 stars 127 forks source link

What is the bare minimum to enable WebVR? #345

Closed StephenHodgson closed 1 year ago

StephenHodgson commented 5 years ago

Hi,

I was wondering what the bare minimum needed to enable WebVR?

I was hoping to use this in another project, but when I try to import it via asset store there's lots of folders that get added to the project.

image

caseyyee commented 5 years ago

Yes, you can leave those all out.

Are you importing the package from the Asset store or somewhere else? Those directories should have been left out.

caseyyee commented 5 years ago

Ah yes, looks like the one in the asset store includes those directories. the unitypackage in the repo only includes the WebGLTemplates and WebVR directory.

StephenHodgson commented 5 years ago

Where are the locations for those packages?

I was looking though the release tab, but it only had source.

caseyyee commented 5 years ago

The WebVR-Assets.unitypackage is located in the main directory of the repo: https://github.com/mozilla/unity-webvr-export/blob/master/WebVR-Assets.unitypackage

Instructions for importing them are in the getting started docs: https://github.com/mozilla/unity-webvr-export/blob/master/docs/project-setup.md#4-download-the-assets-from-the-unity-asset-store

caseyyee commented 5 years ago

@StephenHodgson Ah yes, I think putting a link directly to the package from somewhere on the front page readme will be useful.