private void TryFillData() { if (!m_Awaked || !isDataDirty) { return; } isDataDirty = false; curData = newData; m_Text.text = curData.ToString(); m_Text.color = JerryDebugUGUI.GetLogColor(curData.m_LogType); }
public void SelectOneLog(object[] args) { if (!m_Inited) { return; } if (args == null || args.Length != 1) { return; } LogItem.LogInfo data = (LogItem.LogInfo)args[0]; m_Text.text = data.ToString(); m_Text.color = JerryDebugUGUI.GetLogColor(data.m_LogType); }