playMaker

Author Topic: PUX(Playfab Unity Extension)  (Read 6109 times)

gozda

  • Junior Playmaker
  • **
  • Posts: 88
PUX(Playfab Unity Extension)
« on: July 06, 2016, 01:30:43 PM »
I was waiting more than 8months for plugin for playfab, now he is avaiable.

Did someone try to use this package?
There is more than 350 action and i dont know how to start. For start i am trying to create acc but i just feel powerless.

devmodeon

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PUX(Playfab Unity Extension)
« Reply #1 on: September 10, 2016, 04:00:32 AM »
Sorry if this is old and/or not useful! Also i'm not good with videos or screenshots atm.
What worked for me was:
1: Using the ecosystem to get the Login form sample.
2: Add the PUX Actions Client Login Action into the LoginFormController FSM.
3: Connecting from the <hide fail warning> node to the PUX action.
4: Adding the FAIL and SUCCESS transition and linking them to
<show fail warning> node for FAIL and <Transit to logged In View> for the SUCCESS node.
5: Adding a global variable called PLAYFABID string type.

 I also Duplicated the Text field in the Logged in View so and added U Gui Text Set Text to the <Set current view> node -State tab. Specify Game Object (Text (1)) <- The duplicated Text field.  I set the Play Fab ID in Response Properties to my PLAYFABID globalvariable so that it would display the ID from playfab in the logged in view.

Hope that was useful.
p.s. dont forget to set your Title ID in the Request Properties.