Esempio n. 1
0
 private void OnInteractedWith(object sender, InteractedWithEventArgs args)
 {
     SavedGameManager.Instance.Save();
     LevelManager.Instance.MinigameDifficulty = _minigameDifficulty;
     LevelManager.Instance.MinigameRewards    = _rewards;
     LevelManager.Instance.MinigamePenalties  = _penalities;
     LevelManager.Instance.LoadMinigame(_sceneNameToLoad);
 }
Esempio n. 2
0
 public void OnInteractedWith(object sender, InteractedWithEventArgs args)
 {
     Debug.Log("Started " + args.InteractionType + " with house " + gameObject.name);
     myRenderer.color = _interactionColor;
 }