Hello,
I am trying to catch an event of when the user switches into fullscreen’s
but I cant seem to find an event handler for it.
So I tried to do something like this
function checkFullscreen () {
if(Screen.fullscreen) {
}
}
function Start () {
InvokeRepeating("checkFullscreen", 0, 0.5);
}
I’m abit confused because the log is throwing me this error;
BCE0019: ‘fullscreen’ is not a member of ‘UnityEngine.Screen’
http://unity3d.com/Documentation/ScriptReference/Screen-fullScreen.html
What have I done wrong?