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); }
public void Start(LogTaskItem item) { if (m_bIsRunning) { return; } m_bIsRunning = true; m_CurrentTask = item; AsyncManager.Instance.ExecuteAsyncTask(this); }
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); }