admin管理员组文章数量:1289496
I'm trying to record events from my Unity game, but I keep getting this error in Unity:
The type or namespace name 'Amplitude' could not be found.
I've already went into Windows-> Package manager->and then install package from git, but I'm still getting the error. Can anyone help me resolve this issue?
using AmplitudeSDK;
void Awake(){
Amplitude amplitude = Amplitude.getInstance();
amplitude.setServerUrl(";);
amplitude.logging = true;
amplitude.trackingSessionEvents(true);
amplitude.init(API_KEY);
}
I tried using what they had in the SDK tutorial, but there was never a mention of including package name or anything so I'm lost on what to do. I'm also pretty new at using Unity as well.
本文标签: cHow to record events with Amplitude with Unity SDKStack Overflow
版权声明:本文标题:c# - How to record events with Amplitude with Unity SDK - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741459602a2379956.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论