Files
kaiju/Assets/Util/Display.cs
T
2022-05-31 15:39:24 +10:00

9 lines
181 B
C#

using UnityEngine;
public class Display : MonoBehaviour
{
public void SetWindowed(bool v) {
// Toggle fullscreen
Screen.fullScreen = !Screen.fullScreen;
}
}