I want to create a gameobject list that is equal to half of another gameobject list. But I’m not sure how to get it. First thing that came to mind was
gameobjectList2 = gameobjectList/2
but that doesn’t work since that is using both a gameobject list and an integer. I also tried using a for loop
for(int i=0;i<gameobjectList.Count/2;i++)
gameobjectList2.add(gameobjectList*)*
but that gives me a list that is multiplied not divided. any idea how I can get gameobjectList2 to equal half of gameobjectList?