Beispiel #1
0
 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");
     }
 }
Beispiel #2
0
        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");
            }
        }