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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Can AR virtual buttons trigger different scenes?

Discussion in 'AR' started by jperel, Aug 7, 2018.

  1. jperel

    jperel

    Joined:
    Jun 9, 2018
    Posts:
    4
    I built a Unity AR App that goes with an art book.
    The App opens immediately in AR mode.
    But is it possible to add a step beforehand?
    Such as 3 buttons -2D or virtual- each triggering a different scene.
     
    Last edited: Aug 8, 2018
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    605
    Sure; the session won't become active until the ARSession component is enabled. What you probably want to do is have a scene with just those buttons, which loads the requested AR scene. This might be helpful: https://answers.unity.com/questions/953437/button-onclick-load-scene.html
     
  3. jperel

    jperel

    Joined:
    Jun 9, 2018
    Posts:
    4
    Thanks, I'm re-reading & re-watching.
    Would there be a way for these buttons to be virtual within the same concept ?
     
  4. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    605
  5. jperel

    jperel

    Joined:
    Jun 9, 2018
    Posts:
    4
    I found a v helpful video/tutorial