For managing the vSynch settings instead, which is not just two values, 0/1 (true/false), but can be 0, 1, or 2, we will use a drop-down menu control. The three values vSynch can assume mean:
- No vertical synch (all the frames the computer can do)
- Double buffer (this caps the frame rate to 60 frames per second)
- Triple buffer (this caps the frame rate to 30 frames per second)
To create a drop-down menu, select the VideoOptions GameObject, right-click it, and choose UI | Dropdown:
