zero
Shorthand for writing Vector3(0, 0, 0).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Vector3 zero { get; }
Examples
using UnityEngine;using System.Collections;public class ExampleClass : MonoBehaviour{ void Example() { transform.position = Vector3.zero; }}