|
Ok, the first time this made me frustrated (restarted whole project), but for some reason, when I paused me game (right next to play button) and when I unpaused game, my game controls wouldn't work, and when I stop the game completely and re-played it, the character controls (up to move, left and right to steer, space to shoot,...) wouldn't work at all.I also closed the project completely and reopened it and re-ran my game, but the controls still didn't work. Is it Unity that is messed up or is it just some type of function or whatever? If possible, please help me solve this problem cause I do not want to restart project. Thanks!
(comments are locked)
|
|
Check that you have set the correct inputs in the Input Manager. The inputs are stored to each project. Otherwise it's hard to know what could be wrong, I take it that you don't have any scripts that alters the inputs at runtime, right? Thanks for the help, but for some odd reason when I re-ran my game it worked...If it ever happens again I'll be sure to try your option. Thanks for the (quick) reply!
May 17 '11 at 11:37 PM
David 22
It almost sounds like something related to the actual hardware, might be that Unity doesn't go well with the drivers to your keyboard if you have an exotic variant. Sorry it's hard to tell. I sometimes get this on rare occasions when reloading a level several times with short time in between while testing.
May 17 '11 at 11:45 PM
save
Are you sure that you focused your game view? If you click outside your gameview you switch the keyboard focus to another window (inspector,sceneview, whatever). Just click into the gameview and it should work.
May 17 '11 at 11:45 PM
Bunny83
What Bunny said, this sounds like the most likely scenario!
May 17 '11 at 11:53 PM
save
(comments are locked)
|
