playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker and Audio
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: ArrayMaker and Audio (Read 1788 times)
lucashaley
Playmaker Newbie
Posts: 3
ArrayMaker and Audio
«
on:
November 17, 2013, 05:57:37 PM »
Hi all --
I'm trying to use ArrayMaker to assign a random AudioClip to an AudioSource from an ArrayMaker pre-filled array. I'm using:
ArrayListGetRandom
SetAudioClip
But apparently Unity is having a hard time taking the result from the GetRandom (Object) and assigning it to the AudioSource (as an AudioClip). Is there a way to convert the type before assigning?
Thanks!
-Lucas
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: ArrayMaker and Audio
«
Reply #1 on:
November 18, 2013, 01:18:47 AM »
Hi,
Thanks for reporting! It's been fixed, Please redownload from the wiki page.
If in trouble, let me know.
Bye,
Jean
Logged
lucashaley
Playmaker Newbie
Posts: 3
Re: ArrayMaker and Audio
«
Reply #2 on:
November 18, 2013, 12:10:13 PM »
Wow, awesome response time!
Is there anything else I need to do aside from reimporting the package?
Thanks --
-Lucas
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: ArrayMaker and Audio
«
Reply #3 on:
November 19, 2013, 12:59:40 AM »
Hi,
no, you should be fine by just importing the latest.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
ArrayMaker and Audio