Documentation

Unity Engine

Unity Engine

Plane

A plane primitive.
Read time 1 minuteLast updated a month ago

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); }}