User Invite Button
Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
An abstract class used by the to display the list of friends and handle click events driving the invite process.
A UnityEvent that should be invoked when the UI element is clicked and should report the user that is related to the click e.g. if a user clicks on a button representing Friend A then the event should report Friend A.
The typical handler for this event would take the form of
Represents the user this button is related to
This should be implamented by the inheriting class and should be used to configure the UI display to display the required features of the indicated user. You see an example of this in the BasicFriendInviteButton
provided in the asset.
The BasicFriendInviteButton component included with the asset implaments this method such as
This can only be set by the inheriting class and is the of the user this button represents.
This is an implementation of the UnityEvent.EventSystem.IPointerClickHandler
and will be invoked when the user clicks on the UI element. This method will in turn invoke the event for you.