Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Check Element name from an array.

$
0
0
How can I check the name of an element from a game array?

For example I have the gameobject "6" and I want to check with a script atached to gameobject "6" if the name of element 5 from "activator" is "score". If the name of element 5 is "score" to do something with the gameobject "6".

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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