I want to know how i can update values in array between scenes
Define “values in array between scenes” as by default there is no such thing.
What is between?
Do you mean you want to keep values from scene a to b?
And this question has nothing to do with 2D, so why did you ask this here? There are more readers on scripting area for this kind of questions.
You want to store the values in a file and then initialize on start up.
I want to use different values for every scene, but I think I can just do what MisterSkitz said