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. Dismiss Notice

how to activate (unactive) spawner?

Discussion in 'Scripting' started by karammaks, May 24, 2014.

  1. karammaks

    karammaks

    Joined:
    Apr 6, 2014
    Posts:
    146
    Hi

    i have a game , if the user reached specific number of score for example if player reached 100 score , an exist( unactive spawner from inspector ) will be enabled or activated , would you please tell me how to do so ?
    Note: every spawner has its own class and its own codes , i just want to put code for example :
    if score =100
    activate spawner2
    if score =1000
    activate spawner 3
    and so on ......
     
  2. TheMeanCoder

    TheMeanCoder

    Joined:
    Apr 25, 2014
    Posts:
    15
    I am sure you had a thread like this before. Multiple threads for the same issue are frowned upon.
     
  3. toreau

    toreau

    Joined:
    Feb 8, 2014
    Posts:
    204
    That is correct. Please don't create new threads for the same question.
     
  4. karammaks

    karammaks

    Joined:
    Apr 6, 2014
    Posts:
    146
    please what if i didnt get the wanted help ? if you have answer just say it or leave chance for others to help
     
  5. karammaks

    karammaks

    Joined:
    Apr 6, 2014
    Posts:
    146