Answers for "display list elements in unity"

C#
2

unity print all items inside list

string result = "List contents: ";
foreach (var item in myList)
{
    result += item.ToString() + ", ";
}
Debug.Log(result);
Posted by: Guest on January-09-2022
17

unity list

GameObject Obj;
List<GameObject> Objects = new List<GameObject>();

Objects.Add(Obj);
Posted by: Guest on April-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language