Hi Tony,
1. Is there a way to run two audio files from the resources folder at the same time? It seems like whenever I try to run more than one, the first one gets cut out. Do you know a solution for this?
2. I was also wondering if there was a way to just display subtitles without the UI graphic elements and just text at the bottom of the screen?
Thanks,
Nik
Simultaneous Audio Clips and Subtitles
Re: Simultaneous Audio Clips and Subtitles
Hi Nik,
This will play "buzz" on the GameObject named "Force Field", and it will play "warning" on the GameObject named "Intercom".
Specify different Audio Sources or GameObjects as the subject. The full syntax of Audio() is Audio(clip,subject). The full syntax of AudioWait() is AudioWait(clip,subject,clips...). For example:n_hagialas wrote: ↑Sat Mar 24, 2018 6:46 pm1. Is there a way to run two audio files from the resources folder at the same time? It seems like whenever I try to run more than one, the first one gets cut out. Do you know a solution for this?
Code: Select all
AudioWait(buzz, Force Field);
AudioWait(warning, Intercom)
Yes, use a dialogue UI that doesn't have the UI graphic elements assigned, such as the Letterbox UI. If you only want to use this for one conversation, add an Override Dialogue UI component to one of the GameObjects involved in that conversation, and assign the dialogue UI.n_hagialas wrote: ↑Sat Mar 24, 2018 6:46 pm2. I was also wondering if there was a way to just display subtitles without the UI graphic elements and just text at the bottom of the screen?
-
- Posts: 36
- Joined: Wed May 03, 2017 4:34 pm
Re: Simultaneous Audio Clips and Subtitles
Thanks Tony, I'll try these out!