Version: 2022.1

描述

四边形图元。

另请参阅:GameObject.CreatePrimitive

using UnityEngine;
using System.Collections;

// Creates a quad primitive

public class ExampleClass : MonoBehaviour { void Start() { GameObject quad = GameObject.CreatePrimitive(PrimitiveType.Quad); } }