A quad primitive.
See Also: GameObject.CreatePrimitive.
// Creates a plane primitive function Start () { var plane : GameObject = GameObject.CreatePrimitive(PrimitiveType.Quad); }
using UnityEngine; using System.Collections;
// Creates a quad primitive
public class ExampleClass : MonoBehaviour { void Start() { GameObject quad = GameObject.CreatePrimitive(PrimitiveType.Quad); } }