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);
|
Debug.Log (" " + scenetext);
|
||||||
|
|
||||||
switch (scenetext) {
|
switch (scenetext) {
|
||||||
case "Home":
|
case "Start":
|
||||||
if (!(SceneManager.GetActiveScene ().name == "Main"))
|
if (!(SceneManager.GetActiveScene ().name == "Home"))
|
||||||
SceneManager.LoadScene ("Main");
|
SceneManager.LoadScene ("Home");
|
||||||
break;
|
break;
|
||||||
case "Run":
|
case "Run":
|
||||||
if (!(SceneManager.GetActiveScene ().name == "StepCounter"))
|
if (!(SceneManager.GetActiveScene ().name == "StepCounter"))
|
||||||
|
|
Binary file not shown.
Reference in a new issue