private void SetJustRightState() { currentState = ResourcesState.JustRight; grapeSpawnMultiplier = 1f; bunchSpawnMultiplier = 1f; // Set default value for step multiplier grapeStepMultiplier = 1f; }
private void SetTooManyGrapesState() { currentState = ResourcesState.TooManyGrapes; // Set default value for spawns multipliers grapeSpawnMultiplier = 1f; bunchSpawnMultiplier = 1f; grapeStepMultiplier = 0.5f; }
private void SetTooLittleGrapesState() { currentState = ResourcesState.TooLittleGrapes; grapeSpawnMultiplier = 0.5f; bunchSpawnMultiplier = 0.5f; // Set default value for step multiplier grapeStepMultiplier = 1f; }