Skip to content

Instantly share code, notes, and snippets.

@amirhakimnejad
amirhakimnejad / GameViewSizeShortcut.cs
Last active June 3, 2022 10:54 — forked from wappenull/GameViewSizeShortcut.cs
Unity Editor Setting game view resolution by shortcut key
/*
*
* Script to use ALT+1 ALT+2 ALT+3 for setting gameview resolution.
* If shortcut fail (such as 1280x720) you must add it manually in gameview dropdown first.
*
* Author: Wappen
*
*/
using System;
using System.Reflection;