private void botonSALIR_Click(object sender, EventArgs e) { panelAgregarObjeto.Hide(); VerUsu.Visible = false; VerObj.Visible = false; btnEliminarObj.Visible = false; PanelMenu.Show(); }
private void BtnVolver_Click(object sender, EventArgs e) { panelCuentaNueva.Hide(); PanelMenu.Show(); btnObjPerdidos.Visible = true; botonagregarobjeto.Visible = true; btnInbox.Visible = true; VerUsu.Visible = false; VerObj.Visible = false; btnEliminarObj.Visible = false; }
public void SetPanels() { switch (Director.Instance.currentScene) { case Structs.GameScene.Menu: panelMenu.Show(); panelHUD.Hide(); panelLoading.Hide(); panelScore.Hide(); panelPause.Hide(); break; case Structs.GameScene.Ingame: panelMenu.Hide(); panelHUD.Show(); panelLoading.Hide(); panelScore.Hide(); panelPause.Hide(); if (Director.Instance.currentGameMode == Structs.GameMode.Multi3players) { health[2].transform.parent.gameObject.SetActive(true); } else { health[2].transform.parent.gameObject.SetActive(false); } break; case Structs.GameScene.Score: panelMenu.Hide(); panelHUD.Hide(); panelLoading.Hide(); panelScore.Show(); panelPause.Hide(); break; case Structs.GameScene.LoadingGame: panelMenu.Hide(); panelHUD.Hide(); panelLoading.Show(); panelScore.Hide(); panelPause.Hide(); break; default: panelMenu.Hide(); panelHUD.Hide(); panelLoading.Hide(); panelScore.Hide(); panelPause.Hide(); break; } }
void mostrarmenu() { if (botonO == 0) { PanelMenu.Hide(); btnMenu2.Show(); botonO = 1; } else { PanelMenu.Show(); botonO = 0; btnMenu2.Hide(); } }
private void btnMostrar_Click(object sender, EventArgs e) { PanelMenu.Show(); btnMostrar.Hide(); }
public void btnMostrar_Click(object sender, EventArgs e) { PanelMenu.Show(); picce2.Hide(); btnMostrar.Hide(); }