system
March 15, 2011, 2:49pm
1
hi all,
hopefully a simple problem here. I have a simple gui button that works fine when in windowed mode but not in full screen mode.
if (GUI.Button (Rect (Screen.width - 128,0,128,27), "", "optionBtn")) {
//do stuff
}
when in full screen mode, the hover over the button triggers the change in the graphics but the click just doesn't do anything. Am I missing something simple?
Thanks in advance
I think that I have the same problem. My topic is here:
http://forum.unity3d.com/threads/87496-Focus-is-shifted-in-GUI
In my case it concerns only some aspect ratios.
system
August 27, 2011, 11:51pm
3
It could have to do with Windows being in classic mode of XP style. In Classic mode the shift occurs in fullscreen mode, in XP style it works fine.
Whenever you opt to play in fullscreen, first click somewhere in the scene and then go ahead with your gameplay keys. It worked for me.