示例#1
0
        public void IncrementExpHeight()
        {
            if (StageModel.Loaded.HeightIncrement == 0)
            {
                return;
            }

            expHeightAcc += StageModel.Loaded.HeightIncrement;
            OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc);
        }
示例#2
0
        public void DecrementInsHeight()
        {
            if (StageModel.Loaded.HeightIncrement == 0)
            {
                return;
            }

            insHeightAcc -= StageModel.Loaded.HeightIncrement;
            insHeightAcc  = insHeightAcc < 0f ? 0f : insHeightAcc;
            OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc);
        }