Answer by CarterG81
> Does GameObject.Find() work on> inactive objects? If not, how do you> find and reference inactive objects. GameObject.Find() is only useful (good) in small scenes. Best practice is to avoid...
View ArticleAnswer by bburtson09
You Are looking for Resources.FindObjectsOfTypeAll(), as Noob_vulcan said. I wrote some test code and found many solutions, I will share 2 of my solutions the first being a broad implementation that is...
View ArticleAnswer by Neonalig
Probably a bit late (6 years late), but for any people viewing this now, You can do: UnityEngine.Resources.FindAllObjectsOfType<"object type here">(); Just replace "object type here" with your...
View ArticleAnswer by peterthepeter140
I was looking for a way to use "FindGameObjectWithTag(tag)" with an inactive GameObject and didn't find any easy alternatives but i came up with this solution: public GameObject Item; public float...
View ArticleAnswer by Neonalig
GameObject.Find() only returns active objects. for unactive objects, use this: Resources.FindObjectsOfTypeAll(typeof(YOURTYPEHERE)); so, lets say you want to find all of a certain tag, that aren't...
View Article