public virtual void SetGameDifficult(EGameDifficult diff) { GameDifficult = diff; if (diff == EGameDifficult.Easy) { SetGameDifficultNormal(); } else if (diff == EGameDifficult.Medium) { SetGameDifficultMedium(); } else if (diff == EGameDifficult.Hard) { SetGameDifficultHard(); } else { throw new ArgumentOutOfRangeException("diff"); } UpdateWaveSpawnSize(); }