Quantcast
Channel: Answers for "How to get all GameObjects in Scene?"
Viewing all articles
Browse latest Browse all 20

Answer by justinl

$
0
0
You could try either of these: GameObject.FindObjectsOfType(typeof(MonoBehaviour)); //returns Object[] GameObject.FindGameObjectsWithTag("Untagged"); //returns GameObject[]

Viewing all articles
Browse latest Browse all 20

Trending Articles



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