private void OnButtonSelectEventListener(TabButtonContainer arg0) { foreach (var button in _tabButtons) { if (button != arg0.Button) { button.Unselect(); } } _activeButton = arg0.Button; }
private void OnButtonClickEventListener(UnityAction <TabButtonContainer> callback) { TabButtonContainer eventArgs = new TabButtonContainer { Panel = _panel, Button = this }; _button.image.color = _selectionColor; callback.Invoke(eventArgs); }
private void ButtonSelectEventListener(TabButtonContainer arg0) { ShowNewPanel(arg0.Panel); }
private void ButtonDeleteEventListener(TabButtonContainer arg0) { RemovePanel(arg0.Panel); }