Search found 3 matches

by JoshTheGiff
Fri Nov 17, 2023 5:41 pm
Forum: Dialogue System for Unity
Topic: How to make an audioclip stop when button press
Replies: 2
Views: 172

Re: How to make an audioclip stop when button press

I figured it out. Instead of using SendMessage, which I really want to learn because it seems powerful, I used AudioStop(GameObject), it wasn't working before because I have it set to a script and was trying to use it to call that script instead of just referencing the GameObject
by JoshTheGiff
Fri Nov 17, 2023 5:09 pm
Forum: Dialogue System for Unity
Topic: How to make an audioclip stop when button press
Replies: 2
Views: 172

Re: How to make an audioclip stop when button press

So I changed it to having a game object called Alarm Clock that has an audio source on it. I then use the sequence SendMessage(Stop, ,Alarm Clock) but that isn't working either
by JoshTheGiff
Fri Nov 17, 2023 4:09 pm
Forum: Dialogue System for Unity
Topic: How to make an audioclip stop when button press
Replies: 2
Views: 172

How to make an audioclip stop when button press

Hello everyone, I am brand new to this asset in Unity so I could really use some help that the documentation didn't really help me with. So I have a dialogue that starts with a person snoring. I have a script that starts the snoring and it stops shortly after an alarm plays. The alarm is set to a lo...