Author Topic: Handling callbacks from external API  (Read 731 times)


  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Handling callbacks from external API
« on: May 24, 2015, 08: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


  • Administrator
  • Hero Member
  • *****
  • Posts: 14237
  • Official Playmaker Support
    • View Profile
Re: Handling callbacks from external API
« Reply #1 on: May 25, 2015, 03:24:48 AM »

 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.