Ejemplo n.º 1
0
 public NavDrawerPanelController(NewPanel newPanel, MostUsedPanel mostusedPanel, AboutPanel aboutPanel, ExitPanel exitPanel, TileCalculatorPanel tilecalculatorPanel, GameObject btnMenu)
 {
     _newPanel            = newPanel;
     _mostusedPanel       = mostusedPanel;
     _aboutPanel          = aboutPanel;
     _exitPanel           = exitPanel;
     _tilecalculatorPanel = tilecalculatorPanel;
     _btnMenu             = btnMenu;
 }
Ejemplo n.º 2
0
 private void Checked(RadioButtonPlate obj)
 {
     if (Panels.TryGetValue(obj.Text, out object panel))
     {
         SelectedType = obj.Text;
         NewPanel?.Invoke(panel);
         CreateStateString();
     }
 }