Developers
Unity C#: quickstart
Install and first-use steps for sending events to Feralin with Unity C#. Code samples come from the SDK's own README and statuses from the capability record.
Install
com.feralin.unity 0.3.0 is published on UPM; install it with your package manager using the command below.
https://github.com/feralincom/sdk.git?path=sdks/unity#sdks/unity/v0.3.0{ "dependencies": { "com.feralin.unity": "https://github.com/feralincom/sdk.git?path=sdks/unity#sdks/unity/v0.3.0" } }{ "dependencies": { "com.feralin.unity": "file:/mutlak/yol/com.feralin.unity-0.3.0.tgz" } }First use
using Feralin.Unity;
using UnityEngine;
public class Game : MonoBehaviour
{
void Start()
{
var feralin = FeralinBehaviour.Initialize("pk_live_ORNEK", "https://collect.ornek.com");
// Karar oyunun izin ekranından gelir; SDK izni kendisi varsaymaz ve saklamaz.
feralin.SetConsent(new Consent(analytics: true, advertising: true));
feralin.Client.TrackLevelStart("dunya_1");
feralin.Client.TrackLevelComplete("dunya_1", attempt: 1, score: 1200, durationMs: 33500);
}
}Code samples are taken as they are from sdks/unity/README.md; comments inside may be in Turkish. You create the project key in the dashboard.
Capabilities
| Capability | Status |
|---|---|
| Event sending | Supported |
| Batch sending | Partial |
| Consent handling | Supported |
| Identity | Supported |
| Attribution | Partial |
| Deep links | Partial |
| Revenue | Partial |
| Error capture | Partial |
| Session replay | Not applicable |
| Tracing | Planned |
Verification chain
| Link | Status |
|---|---|
| Source | Passed |
| Build | Partial |
| Test | Passed |
| Registry publication | Passed |
| Clean install | Passed |
| Event receipt | Passed |
| Documentation | Passed |
| Super Admin proof | Not started |
Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.