- Home /
ArrayList Transform type!
Hi,
How can i define arraylist Transform type in c#?
Thanks.
Comment
Best Answer
Answer by SarperS · Jul 21, 2011 at 07:47 AM
ArrayLists are untyped, meaning that you don't give them a type, they accept every type of objects. Use a Generic List instead.
List<Transform> myList = new List<Transform>();
Answer by LukuluK · Oct 16, 2013 at 08:30 AM
Check this link : http://answers.unity3d.com/questions/498589/can-i-select-multiple-objects-in-hierarchy-and-dro.html
It just saved my lifetime ;)
Your answer
![](https://koobas.hobune.stream/wayback/20220612152055im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Hashtable and ArrayList problem 0 Answers
FindWithTag in certain range 2 Answers
C# - ArrayList question 2 Answers
how to compare the order of the objects of list 1 Answer
AudioSource Array Index is out of range 3 Answers