Documentation

Unity Engine


Unity Engine


GetMainGameViewSize()

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

Definition

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

Returns

Type

Description

Vector2