예제 #1
0
    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);
    }
예제 #2
0
 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);
 }