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

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

    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

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

    jperel

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