playMaker

Author Topic: IEnumerator within actions, is it possible?  (Read 2965 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
IEnumerator within actions, is it possible?
« on: June 14, 2012, 08: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

How could I turn this into an action?

Thanks,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: IEnumerator within actions, is it possible?
« Reply #1 on: June 16, 2012, 04: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

Bye,

Jean