示例#1
0
 public static void RegisterGlobal(WsTask task, bool force = false)
 {
     WorkScheduler.CheckConfig();
     WorkScheduler.Instance.registerGlobal(task, force);
 }
示例#2
0
 public static int Register(IThreadSafeTask tfTask, Vector3 position, bool force = false)
 {
     WorkScheduler.CheckConfig();
     return(WorkScheduler.Instance.register(tfTask, position, force));
 }