Skip to content

Instantly share code, notes, and snippets.

@Bodix
Last active March 9, 2021 10:28
Show Gist options
  • Save Bodix/8a386c62389a56ebd3c920a512d7e375 to your computer and use it in GitHub Desktop.
Save Bodix/8a386c62389a56ebd3c920a512d7e375 to your computer and use it in GitHub Desktop.
Game view sizes for Unity

Install

Place at:

C:\Users\%USERNAME%\AppData\Roaming\Unity\Editor-5.x\Preferences

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 61
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12330, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_Standalone:
m_Custom:
- m_BaseText: Reference | Landscape
m_SizeType: 1
m_Width: 1920
m_Height: 1080
- m_BaseText: Reference | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1920
- m_BaseText: 4:3 | Landscape
m_SizeType: 1
m_Width: 1440
m_Height: 1080
- m_BaseText: 4:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1440
- m_BaseText: 7:3 | Landscape
m_SizeType: 1
m_Width: 2520
m_Height: 1080
- m_BaseText: 7:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 2520
m_iOS:
m_Custom:
- m_BaseText: Reference | Landscape
m_SizeType: 1
m_Width: 1920
m_Height: 1080
- m_BaseText: Reference | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1920
- m_BaseText: 4:3 | Landscape
m_SizeType: 1
m_Width: 1440
m_Height: 1080
- m_BaseText: 4:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1440
- m_BaseText: 7:3 | Landscape
m_SizeType: 1
m_Width: 2520
m_Height: 1080
- m_BaseText: 7:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 2520
m_Android:
m_Custom:
- m_BaseText: Reference | Landscape
m_SizeType: 1
m_Width: 1920
m_Height: 1080
- m_BaseText: Reference | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1920
- m_BaseText: 4:3 | Landscape
m_SizeType: 1
m_Width: 1440
m_Height: 1080
- m_BaseText: 4:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 1440
- m_BaseText: 7:3 | Landscape
m_SizeType: 1
m_Width: 2520
m_Height: 1080
- m_BaseText: 7:3 | Portrait
m_SizeType: 1
m_Width: 1080
m_Height: 2520
m_HMD:
m_Custom: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment