/// <summary> /// Abrir o painel do Chat. /// </summary> private void OpenChatPainel(Channel Value) { ChatPainel.gameObject.SetActive(true); ChannelReferenceSelected = Value; FirebaseController.ObservingChatMessages(ChannelReferenceSelected); ChatName.text = ChannelReferenceSelected.Title; }
private void OpenChatPainel(Channel value) { OpenPainel(chatPainel); channelReferenceSelected = value; firebaseController.ObservingChatMessages(channelReferenceSelected); chatName.text = channelReferenceSelected.title; }