Search Unity

How to Make Upgrade for Assets ?

Discussion in 'Scripting' started by ActivePrime, Dec 15, 2014.

  1. ActivePrime

    ActivePrime

    Joined:
    Jan 28, 2014
    Posts:
    147
    Hello Unity,
    How to manage upgrades ?
    Example: I have a house or a gun to upgrade, I have to make a change in the geometry as well as the stats. Each upgrade level I have to tweak the geometry little bit or maybe model some small components. At every level the asset will be different, how I add the components and their textures to the original model as upgrades to the game.
    This is an example link: http://clashofclans.wikia.com/wiki/Town_Hall
    All help will be much appreciated!
     
  2. ActivePrime

    ActivePrime

    Joined:
    Jan 28, 2014
    Posts:
    147
  3. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,260
    This is not a topic for the discussion section, but better placed in Scripting.

    Easiest solution to your question: make a prefab for each level and switch them (instantiate new, destroy old) based on user input. How you are doing this would depend on your UI.
     
  4. ActivePrime

    ActivePrime

    Joined:
    Jan 28, 2014
    Posts:
    147
    Thank you Baroni!
    I got your point :D