Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.63 KB

build.md

File metadata and controls

23 lines (12 loc) · 1.63 KB

Building the Unity Assets Package

If you are a maintainer of this project, and you modified the demo scene distributed with the package, you will want to update the Build/ directory (hosted online here).

  1. Launch Edit > Build Settings > Project Settings. From Player Settings… (Edit > Project Settings > Player), select the WebGL settings tab (HTML5 icon), toggle the Resolution and Presentation view, and select WebVR for the WebGL Template.

    WebGL template selector
  2. Launch Edit > Build Settings > Project Settings. Then, press the Build and Run button, and Save to the directory named Build.

    Selecting the Build folder

If you are contributing to the Assets, you can build and export a new version of the WebVR-Assets.unitypackage file.

Notice that the package does not include all the assets in the repository but only those under WebVR and WebGLTemplates:

  1. Open Assets > Export Package…. A window titled Exporting package will appear. Press the Export… button to proceed.

    Exporting package
  2. When prompted for the file location, set WebVR-Assets as the filename of the destination Unity Asset Package, and press the Save button.

    Export package …