public void OnButtonCategory(GameObject sender) { WidgetButtonStatisticsCategory buttonStatisticsCategory = sender.GetComponent <WidgetButtonStatisticsCategory>(); panelStatistics.OnButtonCategory(buttonStatisticsCategory); }
public void OnButtonCategory(WidgetButtonStatisticsCategory buttonStatisticsCategory) { SwitchToStatisticsCategory(buttonStatisticsCategory.statisticsCategory); }