Hello everyone. I’m currently working with lists and i have a bug that a can’t figure out. I have two lists and when i add an item to one it automatically add the same object to the other. here is the code :
v_tempNode = v_actualPosition;
v_tempTarget = v_goWeClickedOn;
v_path.Clear();
v_tempPath.Clear();
v_tempPath.Add(v_tempTarget);
at this point if i debug both my v_path and v_tempPath have .Count = 1, filled with v_tempTarget. Any idea/clue of why this is happening ?