Timy Ash Timy Ash - 4 years ago 107
C# Question

How to put gameObjects into the list?

I have gameObjects and I need to put them to the list, something like that:

List<GameObject> unityGameObjects = new List<GameObject>();

Answer Source

I found the solution for my question, thereby I'll ask my question, maybe it will be helpful for someone else:

 unityGameObjects.Add(GameObject.Find(unityObject.Value));
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download