Version: 2023.1
public static RectInt zero ;

描述

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

See Also: RectInt.

using UnityEngine;

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