public void SetUIDisplayModeOn(UIDisplayMode displayMode) { switch (displayMode) { case UIDisplayMode.Pause: case UIDisplayMode.None: gunPanel.HidePanel(); timelinePanel.HidePanel(); endTurnPanel.HidePanel(); pausePanel.HidePanel(); boatPanel.HidePanel(); actionPanel.HidePanel(); characterInfoPanel.HidePanel(); break; case UIDisplayMode.Boat: gunPanel.HidePanel(); timelinePanel.ShowPanel(); endTurnPanel.HidePanel(); pausePanel.ShowPanel(); boatPanel.ShowPanel(); actionPanel.HidePanel(); characterInfoPanel.HidePanel(); break; case UIDisplayMode.Start: gunPanel.HidePanel(); timelinePanel.ShowPanel(); endTurnPanel.HidePanel(); pausePanel.ShowPanel(); boatPanel.HidePanel(); actionPanel.HidePanel(); characterInfoPanel.HidePanel(); break; case UIDisplayMode.EnemyTurn: gunPanel.HidePanel(); timelinePanel.ShowPanel(); endTurnPanel.HidePanel(); pausePanel.ShowPanel(); boatPanel.HidePanel(); actionPanel.HidePanel(); characterInfoPanel.ShowPanel(); break; case UIDisplayMode.PlayerTurn: gunPanel.ShowPanel(); timelinePanel.ShowPanel(); endTurnPanel.ShowPanel(); pausePanel.ShowPanel(); boatPanel.HidePanel(); actionPanel.ShowPanel(); characterInfoPanel.ShowPanel(); break; } currentDisplayMode = displayMode; }