PlayMaker Help & Tips > PlayMaker Help
Inventory array method
(1/1)
IIKII:
Hi, I created my own inventory system using the method of saving the items' string values in a arraylist.
So when the game is loaded, a FSM will create gameobject items by checking each of the string value in the arraylist for example: 0- touchlight, 1- rope, 2- meat.
That's the method I came up with since arraylist can't save gameobject directly. I am wondering if this is the best method or is there a better method?
Thanks :)
djaydino:
Hi,
it depends a lot on your project.
For larger inventories i would suggest usin xml/json and Datamaker
Navigation
[0] Message Index
Go to full version