// Start is called before the first frame update
 void Start()
 {
     victoryComponent = GetComponent <VictoryScreen>();
     dialogue         = GetComponent <FungusDialogue>();
     AccuseSFX        = this.transform.Find("AccuseSFX").GetComponent <AudioSource>();
     HintSFX          = this.transform.Find("HintSFX").GetComponent <AudioSource>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     timer         = maxTimer;
     dialogue      = GetComponent <FungusDialogue>();
     MainTheme     = MainBGM.GetComponent <AudioSource>();
     GameOverTheme = GameOverBGM.GetComponent <AudioSource>();
 }