Creating the image display element (FullImage)

It is now time to create the image display element. Take the following steps to do so:

  1. Reselect the Gallery GameObject.
  2. Add another child object by right-clicking and choosing UI | Image. This will create a new 100 x 100 pixel, blank image object within our Gallery object. Since we have not identified a source, the object will appear as a white rectangle in the middle of the Gallery. Adjust the image object's attributes as follows:
    • Rename the object FullImage
    • Set the following; Y position = 30, Width = 604 and Height = 340

Now that we have a container for the primary image, we will begin building a container for the preview images. When the application is running, these thumbnails will provide ...

Get Virtual Reality Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.