Game Frame X AppsFlyer 是一个基于 GameFrameX 框架的 AppsFlyer SDK Unity 包装器,为 Unity 游戏提供移动应用归因和营销分析功能。
https://github.com/gameframex/com.gameframex.unity.appsflyer.git
Packages 目录中在场景中的某个 GameObject 上添加 AppsFlyerComponent 组件。
在 AppsFlyerComponent 组件中配置以下参数:
勾选 Debug 选项以启用 AppsFlyer SDK 的调试日志输出。
AppsFlyer 组件会在游戏启动时自动初始化。确保在场景中添加了 AppsFlyerComponent 并正确配置了相关参数。
包使用 ENABLE_GAME_FRAME_X_APPSFLYER 编译符号来控制 AppsFlyer 功能的启用。确保在项目设置中定义了此符号。
Runtime/ ├── AppsFlyerComponent.cs # AppsFlyer Unity 组件 ├── AppsFlyerManager.cs # AppsFlyer 管理器实现 ├── IAppsFlyerManager.cs # AppsFlyer 管理器接口 └── GameFrameXAppsFlyerCroppingHelper.cs # 代码裁剪辅助类 Editor/ ├── AppsFlyerComponentInspector.cs # 组件检查器 └── GameFrameX.AppsFlyer.Editor.asmdef # 编辑器程序集定义
com.gameframex.unity: GameFrameX 核心框架com.appsflyer.unity: AppsFlyer Unity SDK本项目遵循 MIT 许可证和 Apache 许可证(版本 2.0)。详细信息请查看 LICENSE 文件。
独立游戏前后端一体化解决方案,独立游戏开发者的圆梦大使。