Hello Sir
Can you please tell me how can i save inventory of my game?
I am using Just UCC and playerprefs to save (I am using anticheat toolkit actually but its similar to playerprefs so lets take that as example here)
My game inventory has only 3-5 items
Let's say Torch, Axe, Grenade.
What i am trying to do is, when user pick up torch i save it as some variable using playerprefs that player has torch.
So how can i access that number of torch (grenades) user has in his inventory?
And when user quits the game start game again next time, I want to load the playerprefs and add the items to the inventory as last saved values
I hope you understand exactly what i meant Sir, Please guide.
I checked docs but i end up with no solutions
Can you please tell me how can i save inventory of my game?
I am using Just UCC and playerprefs to save (I am using anticheat toolkit actually but its similar to playerprefs so lets take that as example here)
My game inventory has only 3-5 items
Let's say Torch, Axe, Grenade.
What i am trying to do is, when user pick up torch i save it as some variable using playerprefs that player has torch.
So how can i access that number of torch (grenades) user has in his inventory?
And when user quits the game start game again next time, I want to load the playerprefs and add the items to the inventory as last saved values
I hope you understand exactly what i meant Sir, Please guide.
I checked docs but i end up with no solutions