Here is what I am going at:
tag1 = b1.GetComponet(Tag)
tag1.Tag = Team1
How do I do something kind of like this?
Here is what I am going at:
tag1 = b1.GetComponet(Tag)
tag1.Tag = Team1
How do I do something kind of like this?
You can access the gameObject’s tag from the gameObject class:
gameObject.tag = X