Version: 2023.2
言語: 日本語
public static Rect zero ;

説明

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

関連項目: Rect.

using UnityEngine;

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