Beispiel #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Tab))
     {
         if (!LevelCreateMenu.Opened)
         {
             LevelCreateMenu.Show();
             _cursorManager.ChangeState(CursorManager.CursorState.Create);
         }
         else
         {
             LevelCreateMenu.Shut();
             _cursorManager.ChangeState(CursorManager.CursorState.Select);
         }
     }
 }