public void OnMouseDown() { switch (buttonType) { case ButtonType.navigation: menuUI.MoveRequest(screen, target, direction); break; case ButtonType.level: SceneManager.LoadScene(scene); break; } }