Add basic implementation for footsteps
Add disengage to eden pillar Fix level up sound effect trigger
This commit is contained in:
@@ -52,6 +52,7 @@ public class ExperiencePointsComponent : IExperiencePointsComponent
|
||||
|
||||
public void LevelUp()
|
||||
{
|
||||
SfxDatabase.Instance.Play(SoundEffect.LevelUp);
|
||||
_level.OnNext(_level.Value + 1);
|
||||
var expToNextLevel = ExpToNextLevelCalculation(_level.Value);
|
||||
_currentExp.OnNext(_currentExp.Value - _expToNextLevel.Value);
|
||||
|
||||
Reference in New Issue
Block a user