Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


zero

Shorthand for writing new RectInt(0,0,0,0).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static RectInt zero { get; }

Remarks

Additional Resources: RectInt.

Examples

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