文档

Unity Engine

Unity Engine

Plane

A plane primitive.
阅读时间1 分钟最后更新于 1 天前

Definition

Plane = 4

Remarks

Additional Resources: GameObject.CreatePrimitive.

Examples

using UnityEngine;using System.Collections;// Creates a plane primitivepublic class ExampleClass : MonoBehaviour{ void Start() { GameObject plane = GameObject.CreatePrimitive(PrimitiveType.Plane); }}