Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMainGameViewSize()

Get the width and height of the main game view.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Vector2 GetMainGameViewSize()

Returns

Type

Description

Vector2