O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Gallery prefab

When it runs, our project will house multiple images in individual galleries. Each gallery will be a self-contained prefab containing thumbnail previews, scripts for user interaction, and a category title. The next several steps will involve building the first gallery. Once completed, these objects will become prefabs for creating additional image galleries with their own unique content:

  1. Make an empty GameObject and title it GalleryHolder. This object is the primary receptacle for the individual galleries. All images and canvases will exist inside of this container.
  2. Move GalleryHolder to (0,0,0).
  1. Add a Canvas to the GalleryHolder GameObject and name it Gallery. Do this by right-clicking on GalleryHolder in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required