public void levelUp() { level++; Debug.Log("Level up! now level: " + level); XPToNextLevel = Mathf.RoundToInt(XPToNextLevel * levelMultiplier); currentXP = 0; levelUpManager.levelUp(); }