Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 private void BotTypeBtn(ChatBotType type)
 {
     BotBtnClicked?.Invoke(type);
 }