Quantcast
Channel: Answers by "The_Unity_Game_Developer"
Viewing all articles
Browse latest Browse all 8

Answer by The_Unity_Game_Developer

$
0
0
To load a new scene when clicking a button, just use a simple GUI: if(GUILayout.Button("new scene")) { Application.LoadLevel("WhateverTheNameOfTheNewSceneIs"); } Keep in mind that this will position your button in the top left corner of the game. Just ask if you need it to be central, I'll edit into the answer for you! You can also change "new scene" to whatever you want the button to say. And I think you know how Application.LoadLevel works! Good Luck! -Alex.

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>