Independent Learning-Anqi Yuan
In order to make my Unity project, I have learned a lot from Lynda courses and also online tutorials. I have watched Unity 5: 3D Essential Training for basic use, such as adjusting lighting, creating particle system, adding audio and so on. This course helps me master the Unity software. In this post, I want to talk about some online tutorials about C# Script I have watched for making my final project. I think they are really helpful.
I will focus on changing scenes in Unity. In my final project, I used three different types to change the scene. The first tutorial is changing scenes use C#. This tutorial talks about how to use UI button and C# to change to different scenes in Unity. The progress is really simple to follow. Firstly, create a “canvas” UI element into the scenes and create a “button” inside canvas. And then, using Unity SceneManagement to write a C# Script. Attaching the C# into canvas and button in order to link different scenes. After that, you will be directed to the scene you linked when you click the button. I use this way to change bedroom scene to loading scene in my final project.
I also made a loading bar after learning another tutorial. It also uses C# Script, and this one is more complex. The loading bar is made of UI panel and UI slider. You can change the color and style you want, and you also can add percentage progress. In my final project, player will be changed to the dreaming scene automatically when the loading is completed.
Youtube Link: How to Make a Loading Bar in Unity
Youtube Link: Changing/Moving scenes on a trigger event