public void DoCut() { cutProcess += 26; ProcesSlider.value = Mathf.Clamp(cutProcess / 100, 0, 1.01f); if (cutProcess >= 100) { CurrentState = cutState.foodOk; } }
public void TakeFood() { CurrentState = cutState.nofood; }
public void PutGoodFood() { CurrentState = cutState.foodOk; }
public void PutFood() { CurrentState = cutState.hasfood; }
public void Reset() { CurrentState = cutState.nofood; cutProcess = 0; ProcesSlider.value = 0; }