❔ Dictionary won't be larger than one
Hello i'm trying to create a gridmap where every tile has some info, which i use class for storing, but when i try to add new tile information to my dictionary it just limits it to one while only showing the latest key and value This is my code
3 Replies
Well, on every
Update()
you replace the dictionary with a new, empty one
Then you add one itemFfs
I have wasted so much time
I'm so blind, i really really appreciate your help.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.