void FinishPothole() { this.status = PotholeStatus.Done; OnPotholeDestruction?.Invoke(); potholeManager.FinishPothole(this, this.assignedWorkers); }
public void StartSolvePothole(int workerCount) { this.status = PotholeStatus.InProgress; this.assignedWorkers = workerCount; potholeManager.StartRepairPothole(this, workerCount); sliderController = GetComponentInChildren <SliderController>(); }