How to use Hardal Signal Unity SDK
Greetings, mighty internet!
Let’s talk about our fresh product: Hardal Signal Unity SDK
TL:DR
Hardal Signal Unity SDK is a lightweight and easy-to-use tool for Unity projects, allowing developers to track game events seamlessly. This guide will walk you through the installation, setup, and usage of the SDK.
How to use it
Let’s create a boilerplate Unity 2D game and implement Hardal Signal SDK to it step by step. From learning section, i’ll be selecting 2D Platformer Microgame.
Navigating to Window -> Package Manager
This will open a popup. All i need to do is copy Hardal Signal Unity SDK git repository URL and paste it to the input that stays in Install package from git URL option.
You’ll be able to see that Hardal package is successfully installed and ready to go!
Let’s send our first event. I’ll be triggering event every time when player dies. First, i need to initialize hardal sdk. Let’s do it by right click at the scene -> select Hardal -> Create Hardal Manager and replace placeholder domain at the Hardal Manager script with my own Hardal Signal domain.
HardalManager will automatically manage initializing the sdk
Now it’s time to implement our tracking code. It’ll be inside of PlayerDeath script file so lets do it. You can check technical documentation from repository itself!
And if you enable Debug option, you’ll start to see event flow from console!
Finally, i can confirm that events are successfully landing via Hardal Analytics Dashboard!
So with that being said, it’s time to go. I hope this one helps you to measure your Game Analytics.
Cya.
Top comments (0)