Playmaker Forum

PlayMaker News => General Discussion => Topic started by: jeanfabre on June 14, 2012, 05:56:31 AM

Title: IEnumerator within actions, is it possible?
Post by: jeanfabre on June 14, 2012, 05:56:31 AM
Hi,

 I am trying to implement  the microphone api, but I need to create an action that will request access to the user, and for this

http://unity3d.com/support/documentation/ScriptReference/Application.RequestUserAuthorization.html (http://unity3d.com/support/documentation/ScriptReference/Application.RequestUserAuthorization.html)

How could I turn this into an action?

Thanks,

 Jean
Title: Re: IEnumerator within actions, is it possible?
Post by: jeanfabre on June 16, 2012, 01:36:08 AM
Hi,

 ok, haven't found a way to do it, so used a work around, as in the messenger script ( from the unify wiki), basically I create a gameObject and custom component doing the job, and integrate it in the action.

 You can find that action in this post, downloading the microphone custom actions package:
http://hutonggames.com/playmakerforum/index.php?topic=1771.0 (http://hutonggames.com/playmakerforum/index.php?topic=1771.0)

Bye,

Jean