Earlier in this chapter there was a section called Switching between AR Mode. We will implement the same thing here. We will make room at the bottom of the screen and add a button that reads AR Mode as follows:
- In Hierarchy, select the Content Scroll View (under Main Canvas).
- On its Rect Transform, set Bottom to 50.
- With Main Canvas selected, go to UI | Button and rename it AR Button.
- Set Height to 50.
- For Anchor Presets, set Bottom/Stretch, and then also Alt+click the same to move it into position.
- Set Source Image to none and Color the same as the Nav Panel: 74, 182, 208, 255 (#4AB6D0FF).
- Edit its child text object; Text: AR Mode, Font Size: 25, Color: white (#FFFFFFFF).
Very well. We can now wire up the button ...