Updating.
This commit is contained in:
parent
d5d06e9f9e
commit
501cfe3f15
4 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -18,9 +18,9 @@ public class SceneLoader : MonoBehaviour {
|
|||
Debug.Log (" " + scenetext);
|
||||
|
||||
switch (scenetext) {
|
||||
case "Home":
|
||||
if (!(SceneManager.GetActiveScene ().name == "Main"))
|
||||
SceneManager.LoadScene ("Main");
|
||||
case "Start":
|
||||
if (!(SceneManager.GetActiveScene ().name == "Home"))
|
||||
SceneManager.LoadScene ("Home");
|
||||
break;
|
||||
case "Run":
|
||||
if (!(SceneManager.GetActiveScene ().name == "StepCounter"))
|
||||
|
|
Binary file not shown.
Reference in a new issue