0
How to get a reference to all gameobjects in the scene(Unity)
I need to change the material of all gameobjects in the scene by code. I can change the material gameobject by gameobject but thats not practicle
10 Answers
+ 1
you can try
Scene scene = SceneManager.GetActiveScene(); GameObject[] rootObjects = scene.GetRootGameObjects();
and if u try it let me know if it works so if it doesnt i will try and suggest other things
+ 1
not sure. i think this only lets you follow people
+ 1
tap on the circle next to my name. then press follow at the top right
+ 1
if you need me just post in this same thread. i followed you so it will notify me when you post here
+ 1
no idea sorry
0
Awesome, thanks! I will let you know! Can i add you as a friend somehow ??
0
I cannot figure out how to follow
0
That option is not there, thanks tho. I hope I can find you again when i need help.
0
Awesome. Thanks so much
0
How to hold finger on screen and move left and right to move the gameobject? (Similar to rolling sky) i have swipe controls but cannot figure out holding and moving