Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mattpattie on May 24, 2015, 11:25:29 AM

Title: Handling callbacks from external API
Post by: mattpattie on May 24, 2015, 11:25:29 AM
Hi Guys
I am currently messing around with the facebook api. i am trying to create custom actions using a proxy scripts. almost all of the api requires a callback to be registered. my current method is to have the callback in the proxy and then fire a FSMbroadcast and having an FSM listen for it. this seems very messy. is there any alternatives i should look into?

Kind Regards
Matt
Title: Re: Handling callbacks from external API
Post by: jeanfabre on May 25, 2015, 06:24:48 AM
Hi,

 no, that's the right way to do this.

 You can study Photon proxies, or Unity UI proxies to get a feel of how far you can go.

https://hutonggames.fogbugz.com/default.asp?W1192

https://hutonggames.fogbugz.com/default.asp?W928

 Bye,

 Jean