Hello everyone !
I have a room with 200 cubes, each one has a "name" variable.
when I compile the game, in runtime, each cube has a menu with which you can change the name via an "input field". Then, using the "playerprefs" action, save the name entered in the input field.
The problem is that when I change the name to another of the 200 cubes the variation is not only on that but it changes the value on all the cubes.
I could solve it by setting a different "Key" for each cube for the "playerprefs", but it's a huge job.
How can I do to have a personalized save for each cube?
I looked up on the internet and maybe I found a solution in the "arrays", but I don't know how to use them.
Can you help me please?
Thanks a lot to everyone !!!