Inventory that loads data from an XML
So I've been looking up a few guides of how to create an inventory system and how to use XML but I simply can't find one that does what I need.
I want to create a script that loads all the different items I've created in my XML file, and then be able to create an item in a separate script and be able to load the values of whatever itemID I'd want to have. And then add it to an array or list, so that I can display that list as an inventory (Like in the ff series).
I do not want someone to paste a wall of code and say here you go, but some guidance or teaching on how I would go about doing this would be awesome.
Erik
I personally find X$$anonymous$$L cumbersome, if the goal simply is to save the inventory between sessions I would recommend that you have a look at ScriptableObjects ins$$anonymous$$d.
Your answer
Follow this Question
Related Questions
Inserting game items in online database table and connect that table with the users table 0 Answers
How to handle inventory in 2d game, via xml, no game objects (inheritance? interface?) 0 Answers
Best way to store a large ammount of spells ? 1 Answer
Whats the best option for an item database for a single player game 2 Answers
i need help unity get data from php 0 Answers