UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a cube"
using UnityEngine; public class CreateCube : MonoBehaviour { public GameObject cubePrefab; // Start is called before the first frame update void Start() { GameObject cubeInstance = Instantiate(cubePrefab, Vector3.zero, Quaternion.identity); } }