Beispiel #1
0
    public static void Init(string apiKey)
    {
#if UNITY_EDITOR
#elif UNITY_ANDROID
        FlurryAndroid.Init(apiKey);
#elif UNITY_IOS
        FlurryIOS.Init(apiKey);
#endif
    }
Beispiel #2
0
 /// <summary>
 /// Start or continue a Flurry session for the project denoted by apiKey.
 /// 开始或者继承一个由apiKey表示的flurry
 /// </summary>
 /// <param name="apiKey">The API key for this project.</param>
 public void StartSession(string apiKeyIOS, string apiKeyAndroid)
 {
     FlurryAndroid.Init(apiKeyAndroid);
     FlurryAndroid.OnStartSession();
 }