Quantcast
Channel: Questions in topic: "static variables"
Viewing all articles
Browse latest Browse all 84

how to keep static variables or 2d array value

$
0
0
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 ![alt text][1] [1]: /storage/temp/47233-ca.png 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.

Viewing all articles
Browse latest Browse all 84

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>