private void OnBotBtnClicked(ChatBotType obj) { BotType = obj; UIManager.Instance.BotSelectionPannel.SetActive(false); Debug.Log("Bot Click " + UIManager.Instance.BotSelectionPannel.activeSelf); // check my chat box parent active or not if (!chatCanvas.activeSelf) { chatCanvas.SetActive(true); } }
private void BotTypeBtn(ChatBotType type) { BotBtnClicked?.Invoke(type); }