예제 #1
0
 protected override void OnDisable()
 {
     base.OnDisable();
     AcceptableTasks.SetActive(typeof(AcceptCollectItem <LaborGroup>), true);
     if (UI.Instance != null)
     {
         UI.Instance.DestroyProgressBar(pbar);
         pbar = null;
     }
 }
예제 #2
0
 public void AutoConstruct()
 {
     PerformableTasks[typeof(ConsumeItem <LaborGroup>)].Start();
     AcceptableTasks.SetActive(typeof(AcceptCollectItem <LaborGroup>), false);
 }