Retrieve Resources in Game

An installed SDK is required for the implementation of the following tutorial. To learn more about installing the Craftware SDK, please visit the page SDKs.

In this guide, you will learn how to retrieve the Resources data in your game, for example if you want to display it there.

LootLockerSDKManager.GetCollectables((response) =>
{
    if (response.success)
    {
        Debug.Log("Successfully received " + response.collectables.Length + " collectables");
    }
    else
    {
        Debug.Log("Error receiving collectables");
    }
});

For examples of live games using Craftware to retrieve their resources information, please visit the Game Samples using Craftwarepage.

Last updated