playMaker

Author Topic: ScriptableObject Show in UI  (Read 657 times)

rongconcrx

  • Full Member
  • ***
  • Posts: 132
    • View Profile
ScriptableObject Show in UI
« on: April 14, 2018, 10:46:47 PM »
Hi, I just recently bought P-VUE (PlayFab Visual Unity Extensions) but I have been waiting for the dev to respond back my question, and it doesn't look like I'm getting any answer soon here.

I'm wanting to show a leaderboard and it looks like it's getting the list just fine, but my question is how do I show it in the UI.
It's array type is Object. I don't know what that is. can someone help me out. thank you.

« Last Edit: April 15, 2018, 07:26:25 AM by rongconcrx »

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 139
    • View Profile
    • multiplayer adult fighting
Re: ScriptableObject Show in UI
« Reply #1 on: April 15, 2018, 03:24:00 PM »
I would solve exactly same task in the nearest future, so I just make trace in this topic to keep an eye on it

UPD. Actually, I already have the same question. I get the character details from the PlayFab and the response is an array with objects of some custom class. What should I do with that objects and how exactly?  :-\
« Last Edit: April 15, 2018, 05:03:14 PM by nFighter »
indie developer of multiplayer adult fighting
http://nakedfighter3d.com

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 139
    • View Profile
    • multiplayer adult fighting
Re: ScriptableObject Show in UI
« Reply #2 on: April 15, 2018, 05:15:18 PM »
Ok, seems like I get it.

First, we get the objects via the actions from the P-VUE client API.
And then we use actions from P-Vue Connected API to transform this to regular strings data. So, in your case it's a
PVUE Actions Client Get Character Leaderboard Entry Properties action, that can convert all the custom object data to regular strings. Does it make sense to you?
indie developer of multiplayer adult fighting
http://nakedfighter3d.com