Rect.zero

public static Rect zero;

Description 描述

Shorthand for writing new Rect(0,0,0,0).

See Also: Rect.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Rect initialBox = Rect.zero; } }