Quickstart
Install the SDK
1. Download and import the Homa SDK setup wizard into the Unity project. It can be found on Homa Lab using your credentials.
2. A pop-up will appear, prompting you to accept the installation. Click on the Accept button and wait for Unity to import the SDK packages and recompile.

3. After the installation is complete, another pop-up window will appear. Click on the "Begin Setup" button to continue.
Note
If this window does not appear, you can still go to step 4 using the menu.

4. A Homa Package Manager window will open, where you can enter your Homa Lab app token. You can find your Homa Lab app token in the Submission Details section after registering your game on Homa Lab. Once you add it, click on the "Install" button. It will install the required packages in your project. You will be able to see the list of newly installed packages.
5. Make sure you ignore the cache directories as listed here.
Initialize the SDK
Homa Belly is initialized automatically. For manual initialization, see here.
You can know when the SDK is initialized using the Events.onInitialized event and the HomaBelly.Instance.IsInitialized property.
Note
The Homa Belly initialization process consists of:
- Displaying the Homa Splash screen (if the package is included in your manifest)
- Showing the privacy and ATT pop-ups, if required
- Synchronizing with Homa Lab and retrieving LiveOps data
- Initializing packages like ads and analytics
Implementation example:
// Don't forget to import the HomaBelly namespace
using HomaGames.HomaBelly;
public class MyMonoBehaviour : MonoBehaviour
{
public void Awake()
{
if (!HomaBelly.Instance.IsInitialized)
{
// Listen event for initialization
Events.onInitialized += OnHomaBellyInitialized;
}
else
{
OnHomaBellyInitialized();
}
}
private void OnDestroy()
{
Events.onInitialized -= OnHomaBellyInitialized;
}
private void OnHomaBellyInitialized()
{
// Homa Belly initialized, call any Homa Belly method
}
}
Update the SDK
To update Homa Belly packages, use the menu item to open the Homa package manager window. Then click the “install” button again. This will update your packages, and add/remove new ones if required.
The package manager fetches the list packages to install for your project from Homa Lab.