Commit 1e52c01f authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

Added Some Example Prefabs to showcase the ReverbTime

parent c5c00766
......@@ -16,7 +16,10 @@ public class VAUListener : MonoBehaviour {
private AudioReverbZone[] reverbZones;
private float currentArtificialReverberationTime = 0f;
private float shadowReverbTime;
public delegate void ReverbTimeChangedDelegate(double reverbTime);
public event ReverbTimeChangedDelegate ReverbTimeChanged;
public int ID
{
get
......@@ -97,7 +100,10 @@ public class VAUListener : MonoBehaviour {
if (i > 0)
actReverbTime /= i;
if (ReverbTimeChanged != null)
ReverbTimeChanged(actReverbTime);
_VA.SetArtificalReverbarationTime(VAAudioRenderer, actReverbTime);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment