Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

shop and inventory help pls

Discussion in 'Scripting' started by ahmed513, Apr 8, 2015.

  1. ahmed513

    ahmed513

    Joined:
    Jul 22, 2014
    Posts:
    32
    Hi All Iam creating a new fps multiplayer game and i finish everything in the game and it works 100% but now i create the shop system and need to make when i buy a weapon the weapon go to the inventory
     
  2. renaissanceCoder1

    renaissanceCoder1

    Joined:
    Apr 8, 2015
    Posts:
    127
    Do you have a question?
     
  3. ahmed513

    ahmed513

    Joined:
    Jul 22, 2014
    Posts:
    32
    yes how i make when i buy a weapon it go to inventory and can equip it
     
  4. Reaxgrim

    Reaxgrim

    Joined:
    Feb 15, 2014
    Posts:
    16
    start small.

    look up lists and/or dictionary's
     
  5. ahmed513

    ahmed513

    Joined:
    Jul 22, 2014
    Posts:
    32
    can you pls give me example because i want an advanced system can you give example about if i buy something from shop it goto the inventory just give me a simple example