unity add gameobject from prefab code example Example: Unity C# instantiate prefab Instantiate(myPrefab, new Vector3(0, 0, 0), Quaternion.identity);