Please I am desperate, how do I change a tag during runtime:
I tried what I knew from Unity 4-
I have a tagged Object "Tag1" and have a second tag "Tag2";
Then I use this:
void Update()
{
gameObject.tag = "Tag2";
}
and during runtime it switches between "Tag1" and "Tag2"- but its not possible now:( , help me,please.
↧