Every time I instantiate a prefab, the “link” to the prefab is broken. Assuming I’d still want to modify the prefab and have the instantiated objects in a scene be updated accordingly, how can I instantiate a prefab without breaking its connection?
The answer by Deni35 is perfect. Thank you! Just posting a little bit of code as an example…
//C# GameObject clone = PrefabUtility.InstantiatePrefab(tile) as GameObject; clone.transform.position = gridPositions[col,row]; clone.transform.localScale = new Vector3(cellSize,cellSize,cellSize); clone.name = col.ToString()+","+row.ToString(); clone.transform.parent = t.transform;