Step 1

  1. Expand the GG_Friends prefab and click on Gamergraph_ReceivedFriendRequests.
  2. You’ll see something like this in the inspector as shown.


Figure 1 : Step I (Accept/Reject Friend Requests)

As before, create a UI button in unity canvas, and assign that button in this slot highlighted by the red arrow on the right side.

Congratulations! Now you can successfully Accept or reject requests.

Press play, and click on this new button you created (0 friction), or login and then click the button. You’ll be shown a list of received friend requests!

You’ll see a similar screen like below to accept/reject friend requests!



Figure 28 : Friend Requests Received


Upon pressing the Accept button, you’ll be shown a dialogue which tells you that a friend has been added.


Upon pressing the Reject button, you’ll be shown a dialogue which tells you that the request was rejected!


You might like these

No items found.