Beispiel #1
0
        private void SetupChatViews()
        {
            globalChatView = tabContainers[0].GetComponent <FizzChatView>();
            localChatView  = tabContainers[1].GetComponent <FizzChatView>();

            // Hide channel list for both chat views as this sample use its own Tabs

            globalChatView.ShowHeaderView         = false;
            globalChatView.EnableFetchHistory     = true;
            globalChatView.ShowMessageTranslation = true;

            localChatView.ShowHeaderView     = false;
            localChatView.EnableFetchHistory = true;

            // Hide message translations from local chat view, for demonstraions
            localChatView.ShowMessageTranslation = false;
        }