Version: 2018.2

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