public void StartProcess(Action onCompletion) { currentNumInteractions = 0; isRunning = true; this.onCompletion = onCompletion; completionBar.HideShow(true); }
public void StartProcess(System.Action onComplete) { if (IsRunning) {//cant be running already return; } completionBar.HideShow(true); IsRunning = true; timeElapsed = 0; this.onComplete = onComplete; }