Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PrimitiveType

Description

The various primitives that can be created using the GameObject.CreatePrimitive function.

See Also: GameObject.CreatePrimitive.

Variables

Sphere A sphere primitive.
Capsule A capsule primitive.
Cylinder A cylinder primitive.
Cube A cube primitive.
Plane A plane primitive.
Quad A Quad primitive.