Is it possible to change a tag (or tag an untagged object) through scripting? I’d guess it would be something like:
tag =="thisTag"
But I’m not sure how to do it. Help will be appreciated
public string myTag;
gameObject.tag = myTag;
Thanks a bunch for that
No, gameObject. is not necessary.
You just need to make sure the tag is in the Tag Manager.