- Home /
how to keep static variables or 2d array value
I made a tilemap editor. Tilemap editor can make or edit 2d tiled terrain to use static values and 2d array. 2d array have terrain data.
But when i play my game in unity editor, or updating my scene like this
static variables or 2d array what doesn't appear in inspector are initialized default value.
So after playing or updating, i couldn't edit my tiled terrain again.
I want to keep static variables and 2d array value. how to keep variables value how can i fix it
Sorry for my english. i wish getting my thoughts across to you properly.
Your answer
Follow this Question
Related Questions
How to access static members in the watch/immediate window when debugging with MonoDevelop 0 Answers
Tilemap focus problem 0 Answers
2D Array Tilemap Help [C#] 1 Answer
How can I interacte with Sprites from a Texture with Sprite Mode multi? 1 Answer
Change a plane's vertices positions in runtime using a 2D array 0 Answers