コード例 #1
0
 public void Abort()
 {
     _alive = false;
     _jobs.Clear();
     foreach (var thread in _threads)
     {
         thread.Abort();
     }
 }
コード例 #2
0
        public int JobDropAll()
        {
            int droppedJobCount = 0;

            if (JobList.Count > 0)
            {
                JobList.Clear();
                droppedJobCount = transform.childCount;
                transform.DestroyAllChildren();
            }

            return(droppedJobCount);
        }