using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fullscreentoggle : MonoBehaviour
{
public void SetFullscreen (bool isFullscreen)
{
Screen.fullScreen = isFullscreen;
}
}
Doesn't work, still don't know why. If someone can send a working script for this it would be much appreciated!
Suggestions:
I believe you should change the fullScreenMode as well to what ever you prefer.
Hope it works... Happy coding :)