I’m trying to create a editor script which simply adds a prefab to my scene. I have a bunch of prefabs in a folder called Prefabs, but I can’t work out how to put one of those prefabs in the scene. I’ll have to add I’m new to unity, but not new to game development in genral. If anyone could point me in the right direction, I’d be very happy.
Thanks for the reply, although thats not the part I’m having trouble with. The part I can’t work out is how to get the Transform of the prefab to use in the Instantiate command. I’ve sort of got a work around for now, using Selection.GetTransforms and selecting the prefabs in the Project window, but I’m sure there is a better way?