//public IEnumerator Coroutine { get { return coroutine; } }

    void Awake()
    {
        GetAudioSource        = GetComponent <AudioSource>();
        storyOptionsManager   = FindObjectOfType <StoryOptionsManager>();
        storyCompletion       = FindObjectOfType <StoryCompletionManager>();
        audioUIControlManager = FindObjectOfType <AudioUIControlManager>();
        ResetScriptableObjectsProperties();
    }
Esempio n. 2
0
 void Awake()
 {
     audioSource         = GetComponent <AudioSource>();
     exhibitAudioManager = FindObjectOfType <ExhibitAudioManager>();
     npc = FindObjectOfType <NPCManager>();
     storyCompletionManager        = FindObjectOfType <StoryCompletionManager>();
     defaultPauseSprite            = playPauseIcon.GetComponent <Image>().sprite;
     defaultTalkingIndicatorSprite = npcTalkingIndicatorIcon.sprite;
     playPauseButton.gameObject.SetActive(false);
     skipButton.gameObject.SetActive(false);
     npcTalkingIndicator.gameObject.SetActive(false);
     npc.gameObject.SetActive(false);
 }
Esempio n. 3
0
 private void Awake()
 {
     exhibitAudioManager   = FindObjectOfType <ExhibitAudioManager>();
     storyCompletion       = FindObjectOfType <StoryCompletionManager>();
     audioUIControlManager = FindObjectOfType <AudioUIControlManager>();
 }