Tanoda
ToggleFullscreen.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
5public class ToggleFullscreen : MonoBehaviour
6{
7 public void Toggle()
8 {
9 Screen.fullScreen = !Screen.fullScreen;
10 }
11}