question

usalhse avatar image
usalhse asked

Save color

Hi, How can i save colors to playfab if using colorpicker?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

You can store the RGB color values that picked up by players as K/V pairs of Player Data via Client API UpdateUserData. Please click the link for more details of this API. The request body would be something like this.

{


  "Data": {


    "CustomColor01": "255,255,255",


    "CustomColor02": "255,250,250"


  }
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.