コード例 #1
0
ファイル: HockeyAppIOS.cs プロジェクト: Airat1995/secondhalf
 void StartPlugin()
 {
             #if (UNITY_IPHONE && !UNITY_EDITOR)
     string urlString      = GetBaseURL();
     string authTypeString = GetAuthenticatorTypeString();
     HockeyApp_StartHockeyManager(appID, urlString, authTypeString, secret, updateAlert, userMetrics, autoUploadCrashes);
     instance = this;
             #endif
 }
コード例 #2
0
 public void TrackEvent()
 {
     HockeyAppIOS.TrackEvent("Test Unity");
     HockeyAppIOS.TrackEvent("Test Unity with properties and measurements",
                             new Dictionary <string, string> {
         { "Prop1", "Val1" }, { "Prop2", "Val2" }
     },
                             new Dictionary <string, double> {
         { "M1", 1.0 }, { "M2", 2.0 }
     });
 }
コード例 #3
0
        static readonly bool updateManager        = false;                              // If true, will show a popup if there is a new version
                #endif

        void Start()
        {
                        #if UNITY_IPHONE
            HockeyAppIOS.Init(appID, serverURL, authenticationType, secret, updateManager, autoUpload);
            GameObject   hockeyAppManager = new GameObject("HockeyAppUnityIOS");
            HockeyAppIOS hockeyAppIOS     = hockeyAppManager.AddComponent <HockeyAppIOS>();
            if (exceptionLogging)
            {
                hockeyAppIOS.InitExceptionLogging(appID, serverURL);
            }
                        #endif
        }
コード例 #4
0
 public void ShowFeedbackForm()
 {
     Debug.Log("ShowFeedbackForm");
     HockeyAppIOS.ShowFeedbackForm();
 }
コード例 #5
0
 public void CheckForUpdate()
 {
     Debug.Log("CheckForUpdate");
     HockeyAppIOS.CheckForUpdate();
 }
コード例 #6
0
 public void CheckForUpdate()
 {
     HockeyAppIOS.CheckForUpdate();
 }
コード例 #7
0
 public void ShowFeedbackForm()
 {
     HockeyAppIOS.ShowFeedbackForm();
 }