public void OnButtonCategory(GameObject sender)
        {
            WidgetButtonMainMenuCategory buttonMainMenuCategory = sender.GetComponent <WidgetButtonMainMenuCategory>();

            panelMainMenu.OnButtonCategory(buttonMainMenuCategory);
        }
 public void OnButtonCategory(WidgetButtonMainMenuCategory buttonMainMenuCategory)
 {
     SwitchToMainMenuCategory(buttonMainMenuCategory.mainMenuCategory);
 }