Unity Community


Results 1 to 3 of 3

  1. Location
    Texas
    Posts
    81

    Picking up items/Inventory

    how to i code and save the users inventory?


  2. Posts
    1,439
    Try the search engine in the forum. This topic is a very popular one, and you will find several examples and ideas on what kind of inventory best fits your game style. In short, creating an inventory Item class, and holding these items in an array, is a good way to go. Then the array can be saved with player.Prefs. A special array class of player.Prefs found in the wiki.


  3. Location
    Texas
    Posts
    81
    Quote Originally Posted by Black Mantis View Post
    Try the search engine in the forum. This topic is a very popular one, and you will find several examples and ideas on what kind of inventory best fits your game style. In short, creating an inventory Item class, and holding these items in an array, is a good way to go. Then the array can be saved with player.Prefs. A special array class of player.Prefs found in the wiki.
    thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •