Summary
Throughout this exciting chapter, we learned how to create a new NPC for our virtual world. This time, our NPC offers new functionality to your metaverse, allowing users to choose an alternative avatar. We have learned about a new UI component called Grid Layout Grid, which allows for the row and column layout of a multitude of child components and offers scrolling for easy navigation.
We also learned how to replace one Prefab with another, being now able to customize a character at runtime through code. To save the user’s choice, we learned about the PlayerPrefs
class, a fast and efficient way to save simple information in the user’s session.
In the next chapter, we will deal with a very interesting functionality: we will create screens that allow you to play streaming videos in your scene, and you will be able to play videos hosted on a server or hosting. This is very interesting if you want to make, for example, a cinema-type scene, advertising videos...