Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Load next level script?

Discussion in 'Scripting' started by shannan, Jun 4, 2011.

  1. shannan

    shannan

    Joined:
    Jun 4, 2011
    Posts:
    25
    I made a game and i really need a script that says: when all turrets are destroyed proceed to level 2, but im stuck and i dont know what to write PLLLLLLLLEEEEEAAASSSSSEEEEEEE HELP!!
     
  2. TheRaider

    TheRaider

    Joined:
    Dec 5, 2010
    Posts:
    2,249
    use
    gui.label to display it and application.loadlevel to change levels on success
     
  3. shannan

    shannan

    Joined:
    Jun 4, 2011
    Posts:
    25
    Omg so simple thanks its been annoying me all day!