public static void RegisterProfileBuilder(Action <GDDeviceProfile, Action <bool> > handler)
        {
            GDService service = new GDService();

            service.ProfileEvent += new ProfileEventHandler(handler);
            GamedoniaDevices.services.Add(service);
        }
Exemple #2
0
        void Awake()
        {
            GDService service = new GDService();

            service.ProfileEvent += new ProfilerEventHandler(Profile);
            GamedoniaDevices.services.Add(service);

                        #if UNITY_EDITOR
                        #elif UNITY_ANDROID
            if (debug)
            {
                Debug.Log("[GamedoniaStoreInAppPurchases] StartInAppBilling");
            }
            GamedoniaStore.StartInAppBilling(androidPublickey);
                        #endif
        }
Exemple #3
0
 public static void RegisterProfileBuilder(Action<GDDeviceProfile,Action<bool>> handler)
 {
     GDService service = new GDService ();
                 service.ProfileEvent += new ProfileEventHandler (handler);
                 GamedoniaDevices.services.Add (service);
 }
        void Awake()
        {
            GDService service = new GDService();
            service.ProfileEvent += new ProfileEventHandler(Profile);
            GamedoniaDevices.services.Add(service);

            #if UNITY_EDITOR
            #elif UNITY_ANDROID

            if (debug) Debug.Log("[GamedoniaStoreInAppPurchases] StartInAppBilling");
            GamedoniaStore.StartInAppBilling(androidPublickey);

            #endif
        }