Well... i'm having trouble with to things that i just can't figure out how to solve.
1 - I have an RPG map, and at the hero selection, i want the players to be locked to move their camera (they cant press the arrow keys to move the camera) but still can click the units.
2 - How can i make it so the players need to press ESC to choose their hero. Basically, i only want to know how to detect the esc pressing.
1 - I have an RPG map, and at the hero selection, i want the players to be locked to move their camera (they cant press the arrow keys to move the camera) but still can click the units.
2 - How can i make it so the players need to press ESC to choose their hero. Basically, i only want to know how to detect the esc pressing.