K
K
KO3blPHblU_Ty32021-04-20 19:48:20
Unity
KO3blPHblU_Ty3, 2021-04-20 19:48:20

How to make the camera rotate by 90 degrees on the buttons?

In general, I'm making a game, and the idea is this - When a player wants to switch between locations, he presses a button, and switches to another camera, which can be rotated 90 degrees by the buttons. And it turns out that at first the camera looks at the counter, and if you press enter, it will appear on the stage of another (shop), if he wants to get into the dungeon, he presses the turn button, and the camera now looks at the room, and if you press enter, then the transition to the dungeon scene. So here's how to make the camera rotate using the right arrow, left arrow buttons (90 degrees)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question