Hello citizens. I am so new at Unity and I’m trying to make a 2D hyper casual game.
However I can’t find a way to write a script that always moves down. I want to use it to move camera. All I want is make it always go down. Please tell me how can I code it. All I found online is about following character etc.,Hello citizens. I am so new at Unity and I can’t find a way to write a script that always moves down. I want to use it to move camera. All I want is make it always go down. Please tell me how can I code it. All I found online is following character etc.
You can do that using the Translate method on your objects (in this case the cameras) transform.