EDIT
SOLVED
BLAME MONDAY
/////////////////////////////////
Hi there,
I have a list of which I am removing item 0.
However, I keep getting this error pre run…
error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
void set2_from1(){
///1 animal is currently active.
//we must set 2, from the position of 1
//get the two new animals.(need only one, to add to get to two)
Transform animal = animals_list[0];
active_animals_list.Add(animal);
animals_list.Remove[animal];
}
Not sure why. Research has brought up answers, but none that directly relate to this as I can tell. The error occurs on the last line.