Implement Messages In-Game
The following tutorial assumes you have already set up your game and made your first API calls. To learn how to do that, visit the Getting Started guide.
To retrieve messages you can use the following code:
Unity
Unreal
LootLockerSDKManager.GetMessages((response) =>
{
if (response.success)
{
Debug.Log("Successfully retrieved messages");
}
else
{
Debug.Log("Error retrieving messages");
}
});
Last modified 2mo ago