2023-05-12 17:30:58 +03:00
parent e0769c9b30
commit b5ec0b86b2
16 changed files with 128 additions and 112 deletions

View File

@@ -151,6 +151,9 @@ namespace Game
audioSource.Name += ", vol: " + volume;
if (pitch != 1f)
audioSource.Name += ", pitch: " + pitch;
if (pitch != 0f)
audioSource.Name += ", delay: " + randomDelay;
Console.Print("playing sound " + audioSource.Name);
if (channel > 0)
actorChannels.channelSources[channel] = audioSource;