For example: List = {a,b}
private List<GameObject> FunctionName(List<GameObject> List)
{
List<GameObject> ListClone = List;
ListClone.RemoveAt(1);
return List;
}
output: a
Another example:
GameObject a = GameObject b;
Destroy(b);
return a;
output: null
How can i copy the Value not the Address, so that the old Objects doesn't get changed with it?
This is the reason while nothing works like it should and i need a work-around for everything and it takes 10x the amount of time to do anything, so please enlighten me.