// Start is called before the first frame update void Start() { LogSystem.InstallDefaultReactors(); audioSrc = myCharacter.GetComponent <AudioSource>(); dDaimonMgr = GetComponent <DaimonManager>(); StartCoroutine(ConnectToTTSService()); }
void Start() { LogSystem.InstallDefaultReactors(); dSpeechOutputMgr = GetComponent <SpeechOutputService>(); dAImgr = GetComponent <DaimonManager>(); dSpeechInputMgr = GetComponent <SpeechInputService>(); dSpeechInputMgr.onInputReceived += OnInputReceived; Runnable.Run(CreateService()); }