Plane
A plane primitive.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
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); }}