Version: 2022.3
public Vector2 GetWindowSize ();

返回

Vector2 Returns the width and height of the SceneViewCameraWindow window.

描述

Retrieves the dimensions of the SceneViewCameraWindow window.