PrimitiveType.Plane

Description

A plane primitive.

using UnityEngine;
using System.Collections;

// Creates a plane primitive

public class ExampleClass : MonoBehaviour { void Start() { GameObject plane = GameObject.CreatePrimitive(PrimitiveType.Plane); } }
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答