public static bool RemovePeriodicJob(PeriodicJob job) { Assert.IsTrue(s_MainThreadJobQueue[job.m_order].Contains(job)); s_MainThreadJobQueue[job.m_order].Remove(job); job.Cleanup(); return(true); }
public static bool AddPeriodicJob(PeriodicJob job) { toBeAdded.Add(job); return(true); }