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); }
public void OnInteractedWith(object sender, InteractedWithEventArgs args) { Debug.Log("Started " + args.InteractionType + " with house " + gameObject.name); myRenderer.color = _interactionColor; }