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