public static void StartRoutine(TaskManager.CoroutineInfo info) { if (!TaskManager.IsMainThread) { object obj = TaskManager.syncRoot; lock (obj) { TaskManager.PendingCoroutineInfo.Add(info); } } else { TaskManager.Instance.StartCoroutine(TaskManager.Instance.RunCoroutineInfo(info)); } }
private IEnumerator RunCoroutineInfo(TaskManager.CoroutineInfo info) { TaskManager.< RunCoroutineInfo > c__IteratorD <RunCoroutineInfo> c__IteratorD = new TaskManager.< RunCoroutineInfo > c__IteratorD();