- Home /
 
 
               Question by 
               Cederskog · Jan 18, 2018 at 09:20 PM · 
                camerascripting problemunity5scripting beginnercamera-movement  
              
 
              Problem with the camera, 2D.
Hello, I got a problem with my camera script and hope someone can help me. It almost work like it should, but I am very new to Unity and have looked a lot of places for answer before asking you guys. My Camera is working as it should, except for the y.value. I want the y value to be locked to the game, but nothing seems to work for me. I have attached my model to the camera, but I still get a part that is not part of the game in my camera view.
Hope you can help me.
 
                 
                halp.png 
                (113.1 kB) 
               
 
                
                 
                halp-2.png 
                (30.5 kB) 
               
 
              
               Comment
              
 
               
              Your answer