Skip to content

Instantly share code, notes, and snippets.

@deltacode1
deltacode1 / Fullscreen.cs
Last active August 5, 2026 02:41
Fullscreen game window in unity editor
#if UNITY_EDITOR
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
public class FullscreenHotkeyHandler : MonoBehaviour
{
bool makeFullscreenAtStart = true;