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