Quantcast
Channel: Questions in topic: "keyboard"
Viewing all articles
Browse latest Browse all 605

How to set Num Lock state to true at game start?

$
0
0
I have a game I'm creating to learn Unity, in co-op mode, the PlayerTwo is controled by KeyPad Numbers, but it only works if Num Lock is activated. Is there a way to activate Num Lock from start? Or it is easier to change something in the PlayerTwo script? I tried using this, but it didn't work and I didn't understand https://answers.unity.com/questions/19112/how-to-get-and-set-the-state-of-numlock.html

Viewing all articles
Browse latest Browse all 605

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>