Пример #1
0
        public void HandleWriteChatMessage(string newMessage)
        {
            TextLogController textLogController = GetTextLogController(ref chatLogControllers, ref usedChatLogControllers);

            textLogController.InitializeTextLogController(newMessage);
            LayoutRebuilder.ForceRebuildLayoutImmediate(chatRectTranform);
        }
Пример #2
0
        public void HandleWriteSystemMessage(string newMessage)
        {
            TextLogController textLogController = GetTextLogController(ref systemLogControllers, ref usedSystemLogControllers);

            textLogController.InitializeTextLogController(newMessage);

            LayoutRebuilder.ForceRebuildLayoutImmediate(systemRectTransform);
        }
Пример #3
0
        public void WriteChatMessage(string newMessage)
        {
            //float scrollBarValue = chatScrollBar.value;
            //GameObject go = Instantiate(textPrefab, chatContentArea.transform);
            TextLogController textLogController = GetTextLogController(ref chatLogControllers, ref usedChatLogControllers);

            //chatMessageList.Add(go);
            textLogController.InitializeTextLogController(newMessage);
            LayoutRebuilder.ForceRebuildLayoutImmediate(chatRectTranform);
        }
Пример #4
0
        public void HandleWriteCombatMessage(string newMessage)
        {
            //Debug.Log("CombatLogUI.WriteCombatMessage(" + newMessage + ")");

            TextLogController textLogController = GetTextLogController(ref combatLogControllers, ref usedCombatLogControllers);

            textLogController.InitializeTextLogController(newMessage);

            LayoutRebuilder.ForceRebuildLayoutImmediate(combatRectTransform);
        }
Пример #5
0
        public void WriteSystemMessage(string newMessage)
        {
            //float scrollBarValue = systemScrollBar.value;
            //GameObject go = Instantiate(textPrefab, systemContentArea.transform);
            //systemMessageList.Add(go);
            TextLogController textLogController = GetTextLogController(ref systemLogControllers, ref usedSystemLogControllers);

            textLogController.InitializeTextLogController(newMessage);

            LayoutRebuilder.ForceRebuildLayoutImmediate(systemRectTransform);
        }
Пример #6
0
        public void WriteCombatMessage(string newMessage)
        {
            //Debug.Log("CombatLogUI.WriteCombatMessage(" + newMessage + ")");

            //float scrollBarValue = combatScrollBar.value;
            //Debug.Log("CombatLogUI.WriteCombatMessage(" + newMessage + "): scrollbarValue: " + combatScrollBar.value);

            //GameObject go = Instantiate(textPrefab, combatContentArea.transform);
            //combatMessageList.Add(go);
            TextLogController textLogController = GetTextLogController(ref combatLogControllers, ref usedCombatLogControllers);

            textLogController.InitializeTextLogController(newMessage);

            LayoutRebuilder.ForceRebuildLayoutImmediate(combatRectTransform);
        }