Version: 2017.3

描述

A Quad primitive.

另请参阅:GameObject.CreatePrimitive。

using UnityEngine;
using System.Collections;

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