public void IncrementExpHeight() { if (StageModel.Loaded.HeightIncrement == 0) { return; } expHeightAcc += StageModel.Loaded.HeightIncrement; OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc); }
public void DecrementInsHeight() { if (StageModel.Loaded.HeightIncrement == 0) { return; } insHeightAcc -= StageModel.Loaded.HeightIncrement; insHeightAcc = insHeightAcc < 0f ? 0f : insHeightAcc; OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc); }