Un cilindro primitivo.
See Also: GameObject.CreatePrimitive.
using UnityEngine; using System.Collections;
// Creates a cylinder primitive
public class ExampleClass : MonoBehaviour { void Start() { GameObject cylinder = GameObject.CreatePrimitive(PrimitiveType.Cylinder); } }