private void Start() { string channelName = Singleton <NetworkManager> .Instance.channelConfig.ChannelName; TalkingDataPlugin.SetLogEnabled(true); TalkingDataPlugin.SetExceptionReportEnabled(true); TalkingDataPlugin.SessionStarted("A0F361D0ACD1B1846FCEE7327ADEF913", channelName); }
void Start() { Debug.Log("start...!!!!!!!!!!"); TalkingDataPlugin.SetLogEnabled(true); TalkingDataPlugin.SetExceptionReportEnabled(true); TalkingDataPlugin.SessionStarted("E7538D90715219B3A2272A3E07E69C57", "your_channel_id"); TalkingDataEAuth.SuccessDelegate successMethod = new TalkingDataEAuth.SuccessDelegate(this.OnEAuthSuccess); TalkingDataEAuth.FailedDelegate failedMethod = new TalkingDataEAuth.FailedDelegate(this.OnEAuthFailed); TalkingDataEAuth.Init("506610b4d5a142809cca181e32d70e21", "7c1573fbd1cc33d336f01838dc2d606e", successMethod, failedMethod); #if UNITY_IPHONE #if UNITY_5 || UNITY_5_6_OR_NEWER UnityEngine.iOS.NotificationServices.RegisterForNotifications( UnityEngine.iOS.NotificationType.Alert | UnityEngine.iOS.NotificationType.Badge | UnityEngine.iOS.NotificationType.Sound); #else UnityEngine.iOS.NotificationServices.RegisterForNotifications( UnityEngine.iOS.NotificationType.Alert | UnityEngine.iOS.NotificationType.Badge | UnityEngine.iOS.NotificationType.Sound); #endif #endif }