private void HandleBotChange(int botIndex) { if (botIndex == memberIndex) { HandleAttributeChanged(); OnBotSelected?.Invoke(); } }
void Awake() { teamList.OnItemSelected += (int oldIndex) => OnBotSelected?.Invoke(); }
protected override void SubHandleSelect(int oldIndex) { botConfiguration.CurrentBot = this[SelectedIndex]; OnBotSelected?.Invoke(); }
protected override void SubDelete(int oldIndex, BotData oldBot) { botConfiguration.CurrentBot = null; OnBotSelected?.Invoke(); }