public void Destroy() { if (mTaskIds != null) { for (int i = mTaskIds.Count - 1; i >= 0; i--) { int taskId = mTaskIds[i]; HS_Scheduler.Remove(ref taskId); } mTaskIds = null; } }
public bool Remove(System.Action action) { return(HS_Scheduler.Remove(action)); }
public bool Remove(ref int taskId) { return(HS_Scheduler.Remove(ref taskId)); }