Search Unity

how can we use SceneManager.LoadScene from an ui button click?

Discussion in 'UGUI & TextMesh Pro' started by nitrofurano, Aug 4, 2019.

  1. nitrofurano

    nitrofurano

    Joined:
    Jun 7, 2019
    Posts:
    92
    hi everyone! this is a question from a newbie, and i'm struggling a lot finding simple tutorials or working examples showing how can we use SceneManager.LoadScene from an ui button click - let's say we want some few scenes, like 3, with buttons for going to another scenes, as simple as this - do anyone know where from we start and have something simple working? thanks in advance!
     
  2. Instead of setting the text you call the scene loader.
     
    nitrofurano likes this.
  3. nitrofurano

    nitrofurano

    Joined:
    Jun 7, 2019
    Posts:
    92