Browse Source

Fixed issue when first creating a random sound component.

master
Hector Castelli Zacharias 7 years ago
parent
commit
91781f8c58
  1. 1
      Assets/Fungus/Scripts/Commands/PlayRandomSound.cs

1
Assets/Fungus/Scripts/Commands/PlayRandomSound.cs

@ -66,6 +66,7 @@ namespace Fungus
string sounds = "[";
foreach (AudioClip ac in soundClip) {
if(ac!=null)
sounds+=ac.name+" ,";
}
sounds = sounds.TrimEnd(' ', ',');

Loading…
Cancel
Save