For the last step of this project's ARKit implementation, we'll go ahead and add a screen button to slow down the planet orbits, like we did previously in the Adding a master speed rate UI section. We'll list the same steps here; please refer to the earlier section for details:
- In Hierarchy, select Create | UI | Canvas.
- Select Canvas and change UI Scale Mode to Constant Physical Size.
- With the Canvas selected, right-click on UI | Button.
- Press the Anchor Presets icon to open the presets dialog box.
- Press Alt+Shift on the keyboard, then click on the Bottom-Right corner icon.
- In Hierarchy, unfold Button and select Text. Change Text to say Slow.
- On the Button, go to Add Component | Event | Event Trigger.
- Press Add New ...