Example #1
0
        public void StartTask(TaskType type, object param, Action <object> onCallback)
        {
            LogTaskItem item = new LogTaskItem();

            item.m_Type          = type;
            item.m_Param         = param;
            item.m_ParamCallback = onCallback;
            StartTask(item);
        }
Example #2
0
 public void Start(LogTaskItem item)
 {
     if (m_bIsRunning)
     {
         return;
     }
     m_bIsRunning  = true;
     m_CurrentTask = item;
     AsyncManager.Instance.ExecuteAsyncTask(this);
 }
 public void Start(LogTaskItem item)
 {
     if (m_bIsRunning)
     {
         return;
     }
     m_bIsRunning = true;
     m_CurrentTask = item;
     AsyncManager.Instance.ExecuteAsyncTask(this);
 }
Example #4
0
 public void Start_Quick(LogTaskItem item)
 {
     m_CurrentTask = item;
 }
Example #5
0
 public void StartTask(LogTaskItem item)
 {
     CheckInit();
     m_TaskQueue.Offer(item);
 }
 public void Start_Quick(LogTaskItem item)
 {
     m_CurrentTask = item;
 }
 public void StartTask(LogTaskItem item)
 {
     CheckInit();
     m_TaskQueue.Offer(item);
 }
 public void StartTask(TaskType type, object param, Action<object> onCallback)
 {
     LogTaskItem item = new LogTaskItem();
     item.m_Type = type;
     item.m_Param = param;
     item.m_ParamCallback = onCallback;
     StartTask(item);
 }