Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Player Input and Cameras Make a Follow Camera

Camera is closer to the frog than in the video

My camera is closer to the frog than in the videos, no matter which position and rotation i give the camera? It also sometimes gives me errors about the camera. And after i made the camera follow the player, its still zoomed in.

All the errors come from the code, from the props i imported at the start. One of the errors says: Assets/Standard Assets/ParticleSystems/Scripts/ExtinguishableParticleSystem.cs(24,24): warning CS0618: UnityEngine.ParticleSystem.enableEmission' is obsolete:enableEmission property is deprecated. Use emission.enable instead.'

2 Answers

Try editing the code for the camera. I don't code C# but that's what I do with other code if I don't like it. As of the errors, I am not too sure.

Well. I tried to fix it, but now i have even more errors, and it is almost black and white... Could it be have anything to do with the installation of unity, and does anyone else have this?

Most likely not that there are corrupt files. It could possibly be that you have missed a semi colon or something.