Example #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape) == true)
     {
         GoToOtherScene SceneNavigator = new GoToOtherScene();
         SceneNavigator.GoBackButton();
     }
 }
Example #2
0
    public void OnClick()
    {
        //DO A LOT

        GoToOtherScene SceneNavigator = new GoToOtherScene();

        SceneNavigator.QRcodeScene();
    }