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 do I make a clickable object.

Discussion in 'Scripting' started by InsanePower, Mar 1, 2016.

  1. InsanePower

    InsanePower

    Joined:
    Mar 1, 2016
    Posts:
    2
    We are trying to make a game and we have a menu set up to where there are a red a blue cube (teams) and I don't know how to make a script that would allow me to click one of those and take me to a different screen. Like for example if you clicked the blue screen it would take you to the blue player menu. What would I use to do this?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,375
    You definitely want to tart here Learn
     
    BrainLust likes this.
  3. InsanePower

    InsanePower

    Joined:
    Mar 1, 2016
    Posts:
    2
    I know how to use unity I've been using it for a while now. I just need the script
     
  4. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148