Hello! I am having a issue when toggle to full screen in web player. I toggle to full screen by this script:
#pragma strict
var fullScreenButton : KeyCode;
function Update()
{
if(Input.GetKeyDown(fullScreenButton))
{
Screen.fullScreen = !Screen.fullScreen;
}
}
Apparently, all right, but I can only switch between windowed mode and full screen once, then when I activate the full screen and back to windowed mode, I cannot go back to full screen.
Thank you for your attention!
Sorry of my english