Quantcast
Channel: Questions in topic: "tagging"
Viewing all articles
Browse latest Browse all 120

How do you change the tag of an Object in runtime?

$
0
0
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.

Viewing all articles
Browse latest Browse all 120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>