Version: 2018.1

Description

A cylinder primitive.

using UnityEngine;
using System.Collections;

// Creates a cylinder primitive

public class ExampleClass : MonoBehaviour { void Start() { GameObject cylinder = GameObject.CreatePrimitive(PrimitiveType.Cylinder); } }