private void SetMiniGameDifficulty() { if (setting) { setting.SetDifficulty(difficulty); setting.SetMinigameMode(minigameMode); } else { Debug.LogWarning($"no difficulty setting has been referened in the {gameObject}. Make sure to have a difficulty setting for each minigame"); } }
protected override void OnDialogueFinish() { base.OnDialogueFinish(); if (setting) { setting.SetDifficulty(difficulty); setting.SetMinigameMode(minigameMode); } else { Debug.LogWarning($"no difficulty setting has been referened in the {gameObject}. Make sure to have a difficulty setting for each minigame"); } }