Hello .
I'm trying to make a simple inventory system for my game .
Every time the player picks up and item , i clone my "Item" prefab ( from the assets folder),which contains an sprite image component, then change its name and sprite and parent it to my "Inventory" GameObject .
When i want to save , i iterate through all the childs of the "Inventory" GameObject , and save their Names and Sprites to seperate List Arrays , so that when i load , i can create the items which was Parented the "Inventory"
I can save the Names Array List easily with EasySave2 , since it contains only Strings , but ES2 doesnt support Sprites ,how can i save the Sprites Array List ?
Alternatively , Since the name of the items and their respective sprites are the same , how can i search the asset folder for the respective sprite ?