Hello everyone,
I have two lists,
one contains floats, the other gameobjects. Both lists have the same size.
I want to sort the floats, but if I do so, the elements of the first list will not correspond to the correct game objects anymore. Therefore I need to sort the gameobjects accordingly. How to do this?
I have two lists,
one contains floats, the other gameobjects. Both lists have the same size.
I want to sort the floats, but if I do so, the elements of the first list will not correspond to the correct game objects anymore. Therefore I need to sort the gameobjects accordingly. How to do this?