It is now time to create the image display element. Take the following steps to do so:
- Reselect the Gallery GameObject.
- 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 ...