Ejemplo n.º 1
0
    void Awake()
    {
#if UNITY_IOS
        CrittercismIOS.Init(CrittercismiOSAppID);
#elif UNITY_ANDROID
        CrittercismAndroid.Init(CrittercismAndroidAppID);
#endif
    }
Ejemplo n.º 2
0
    private const string CustomVersionName  = "";   /*Your Custom Version Name Here*/
    void Awake()
    {
#if UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2
#else
        CrittercismAndroid.Init(CrittercismAppID, bDelaySendingAppLoad, bShouldCollectLogcat, CustomVersionName);
#endif

#if UNITY_3_3 || UNITY_3_4 || UNITY_3_4_1 || UNITY_3_4_2
#else
        Destroy(this);
#endif
    }
    private const string CrittercismAppID = "";      /*Your App ID Here*/

    void Awake()
    {
#if UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2
#else
        CrittercismAndroid.Init(CrittercismAppID);
#endif

#if UNITY_3_3 || UNITY_3_4 || UNITY_3_4_1 || UNITY_3_4_2
#else
        Destroy(this);
#endif
    }
Ejemplo n.º 4
0
    // 유틸 : 크래시 래포트 설정
    void SetCrittercism()
    {
#if UNITY_ANDROID
        UnityEngine.Debug.LogFormat("Crittercism.DidCrashOnLastLoad = {0}", CrittercismAndroid.DidCrashOnLastLoad());
        CrittercismAndroid.Init("20fb64bf760d44589b6aefeb6bcb220700555300");
        CrittercismAndroid.SetLogUnhandledExceptionAsCrash(true);
#elif UNITY_IPHONE || UNITY_IOS
        UnityEngine.Debug.LogFormat("Crittercism.DidCrashOnLastLoad = {0}", CrittercismIOS.DidCrashOnLastLoad());
        CrittercismIOS.Init("7d02af2372694b93b84d75a999dd7dd400555300");
        CrittercismIOS.SetLogUnhandledExceptionAsCrash(true);
#endif
    }
Ejemplo n.º 5
0
    // 유틸 : 크래시 래포트 설정
    void SetCrittercism()
    {
#if UNITY_EDITOR
        UnityEngine.Debug.LogFormat("AOS Crittercism : {0}", m_strAppKeyForAOS);
        UnityEngine.Debug.LogFormat("IOS Crittercism : {0}", m_strAppKeyForIOS);
#elif UNITY_ANDROID
        UnityEngine.Debug.LogFormat("Crittercism.DidCrashOnLastLoad = {0}", CrittercismAndroid.DidCrashOnLastLoad());
        CrittercismAndroid.Init(m_strAppKeyForAOS);
        CrittercismAndroid.SetLogUnhandledExceptionAsCrash(true);
#elif UNITY_IPHONE || UNITY_IOS
        UnityEngine.Debug.LogFormat("Crittercism.DidCrashOnLastLoad = {0}", CrittercismIOS.DidCrashOnLastLoad());
        CrittercismIOS.Init(m_strAppKeyForIOS);
        CrittercismIOS.SetLogUnhandledExceptionAsCrash(true);
#endif
    }
Ejemplo n.º 6
0
 public static void Init(string appID)
 {
     CrittercismAndroid.Init(appID, new CrittercismConfig());
 }
Ejemplo n.º 7
0
 private void Awake()
 {
     CrittercismAndroid.Init(this.CrittercismAndroidAppID);
 }
Ejemplo n.º 8
0
 void Awake()
 {
     CrittercismAndroid.Init(CrittercismAppID);
     Destroy(this);
 }