文档

Unity Engine

Unity Engine

zero

Shorthand for writing new RectInt(0,0,0,0).
阅读时间1 分钟最后更新于 13 小时前

Definition

public static RectInt zero { get; }

Remarks

Additional Resources: RectInt.

Examples

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