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

New to scripting - want to create death script

Discussion in 'Scripting' started by GreenBoxInteractive, Mar 27, 2015.

  1. GreenBoxInteractive

    GreenBoxInteractive

    Joined:
    Mar 23, 2015
    Posts:
    135
    Hello, I want to create an android game, where you avoid falling objects.

    When one of the objects hits the player, a game over screen is displayed where you can either restart, or go back to a main menu.

    I have not a clue where to start.
     
  2. kdubnz

    kdubnz

    Joined:
    Apr 19, 2014
    Posts:
    177
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Check out OnCollisionEnter and Application.LoadLevel