Version: 2023.2
言語: 日本語

説明

カプセル

Additional resources: GameObject.CreatePrimitive.

using UnityEngine;
using System.Collections;

// Creates a capsule primitive

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