rpg inventory system intermediate unity c coding