Open the script up in Visual Studio so we can begin to create it. Here’s what it should look like in the Game view:Ĭreate a new C# script called CameraController and attach it to the CameraAnchor object. Then we can drag the Main Camera in as a child.Īlso on the Main Camera, let’s change our Field of View to 20. To begin, let’s create a new empty object called CameraAnchor. In this game, we’re going to have a camera which can move around, look and zoom in and out. This will open up the Lighting window where at the bottom, you can enable Auto Generate. To fix this, go to the bottom right corner of the screen and click on the Auto Generate Lighting button. You may notice that the lighting is a bit off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |