//public void ShowHideLeftSidebarToggleClicked() //{ // if (ShowHideLeftSidebarToggleButton.Text == "Hide") // { // SlideLeftMenuInAnimation.StartAnimation(); // ShowHideLeftSidebarToggleButton.Text.Value = "Show"; // } // { // SlideLeftMenuInAnimation.ReverseAnimation(); // ShowHideLeftSidebarToggleButton.Text.Value = "Hide"; // } //} public void ModeTabSelected(TabSelectionActionData actionData) { if (actionData.TabView.Text == "Terrain") { _hexMapEditor.SetEditMode(true); _prefabManager.SetEditMode(false); } else if (actionData.TabView.Text == "Objects") { _hexMapEditor.SetEditMode(false); _prefabManager.SetEditMode(true); } }