UI
Welcome to the Game, an opening scene of my serious game includes a welcoming text and three option buttons. It was built based on the knowledge and skills I have gained from the lectures and tutorials we had during the last semester of year one, demonstrating the way of creating UI in Unity.
One of the three buttons underneath the opening text is Play and leads to the workshop scene, where the actual game takes place. That scene has a Go Back button, which takes the player back to the Welcome scene with the Main Menu.
Buttons were created as UI elements in the hierarchy, in Unity, with the Text Mesh Pro (TMP). The font type and size were adjusted, as well as colours of the buttons in various modes (an assorted colour when pressed, highlighted etc.). They were all modified so they work well together with the overall game look and feel.
Actions were added to the buttons through assigning the right code (C# programming language). This was possible thanks to studying video resources as well as appropriate reading (de Byl, 2019), so I knew what exactly had to be done to make them work.
All the above options were tested in Unity on a Play mode. I was pleased with the results as everything worked as it should.
After I had built the project and ran it on Oculus Quest 2, I was not that content. My UI was added to the game, but had a significant drawback, it did not work in VR (Virtual Reality). Unfortunately, due to limited time and other limitations, as well as the submission date approaching, I could not investigate this matter further. I am, however, determined to learn how to implement UI to the game properly in my future projects.