I want to be able to make an object i have spawn a copy of another one i have. I think i have to “tag” my objects so when i code they know what im referring to? how do i do this, when i go to change my tags the generic ones come up, i cant add my own, and the script still doesn’t know what im talking about. Any help would be appreciated.
For tagging, use the Tag Manager. Click on the triangle next to Tags, Increase the size, and An on the right opposite Element#, type in your tag. Then you can use the tag dropdown to set the tag for a specific object.
But to do what I think you want to do, you don’t need the tag. Just use the name. Something like:
var go = GameObject.Find("ObjectName");
if (go != null)
Instantiate(go);
Note the object name has to be exactly how you name your object.