public void ApplyDayChange() { ClickPotScript.TimeStep(DaySlider.value); Inventory.State.DaysPassed += (int)DaySlider.value; if (Inventory.State.DaysPassed > Inventory.State.DayLimit) { GameOverUIParentScript.OpenMenuStatic(); GameOverUIScript.OpenMenuStatic(); } Inventory.State.Cash -= CashCostPerDay * DaySlider.value; }
public void DebugTimestep(float timeAmount) { ClickPotScript.TimeStep(timeAmount); }