9 lines
181 B
C#
9 lines
181 B
C#
using UnityEngine;
|
|
|
|
public class Display : MonoBehaviour
|
|
{
|
|
public void SetWindowed(bool v) {
|
|
// Toggle fullscreen
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
} |