origimbo
0
Q:

how to add all items with a tag to a list in unity

 public List<GameObject> peopleList = new List<GameObject>();           foreach(GameObject fooObj in GameObject.FindGameObjectsWithTag("people")) {              peopleList.Add(fooObj);         }
0

New to Communities?

Join the community