Beispiel #1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         Navigator.Backward();
     }
 }
        void Start()
        {
            if (sideMenuButton != null && sideMenu != null)
            {
                sideMenuButton.onClick.AddListener(() => {
                    sideMenu.Toggle();
                });
            }

            if (backwardButton != null)
            {
                backwardButton.onClick.AddListener(() => {
                    Navigator.Backward();
                });
            }
        }
Beispiel #3
0
 protected virtual void DoBackward()
 {
     Navigator.Backward();
     //currentNode = CurrentNode.Parent;
 }