Quantcast
Channel: Latest Questions by Crispinator
Viewing all articles
Browse latest Browse all 30

Changing tags of an Object and its Child

$
0
0
I want the sword object and all of its children to change tags, but for some reason it won't work. It's probably some obvious problem and I just don't see it. function OnMouseUp() { var sword = GameObject.FindGameObjectsWithTag("Unequiped"); sword.tag = "Equiped"; }

Viewing all articles
Browse latest Browse all 30

Trending Articles



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