Unity version: 5.5.0f3
I’m still in the very beginning of this game, but basically I’m just trying to get the bright center to coincide with the mouse’s movements (Like you’re looking through the scope of a gun).
To start, I was going to follow Ben’s “movement by mouse” lecture, and try and add the y axis myself afterwards. But even copying Ben’s code exactly, the scope doesn’t coincide with my mouse movements. When I realized my units and screen width were different, I tried changing things to fit, but it still doesn’t work. The scope is still offset to my mouse position. Here is my game, and an image of my code.
StealthMode.zip (5.7 MB)
I would really appreciate it if someone could help get it working, and also edit it so the y-axis works as well.