|
Post by Jake on May 10, 2014 17:07:12 GMT
For some reason when I want to play a sound using the coded method, I get a message.
Sound Group {Gun_Reload} has no active variations. UnityEngine.Debug:Log(Object)
I don't understand why I am getting this, and the sound does not play
|
|
|
Post by Jake on May 10, 2014 17:39:09 GMT
MasterAudio.PlaySound ("Gun_Reload");
|
|
|
Post by DarkTonic Dev on May 10, 2014 19:41:56 GMT
How many Variations do you have of that Sound Group and what are their weights? I believe you either have zero variations or a single variation with zero weight.
|
|
|
Post by Jake on May 11, 2014 4:46:33 GMT
Ah! Thanks Yeah, I didn't have the weight set up right. it was set to 0. Now that I set it to 1 now it works! Thanks
|
|
|
Post by DarkTonic Dev on May 11, 2014 5:18:46 GMT
Cool! Yeah, we let you put zero weight in so you can test removing certain Variations without deleting them, when you have more than one Variation.
|
|
|
Post by Jake on May 11, 2014 5:25:46 GMT
Yeah, lol I was pulling my my hair trying to figure that out, amazing asset Thanks again!
|
|
|
Post by DarkTonic Dev on May 11, 2014 5:36:51 GMT
No problem and thank you. If you have any other questions or suggestions, let us know!
|
|