Beispiel #1
0
        void InitConnectionWithGooglePlay()
        {
            m_BillingClientStateListener.RegisterOnConnected(OnConnected);
            m_BillingClientStateListener.RegisterOnDisconnected(OnDisconnected);

            StartConnection();
        }
 void InitConnectionWithGooglePlay(IBillingClientStateListener billingClientStateListener)
 {
     billingClientStateListener.RegisterOnConnected(OnConnected);
     billingClientStateListener.RegisterOnDisconnected(OnDisconnected);
     m_BillingClient.StartConnection(billingClientStateListener);
 }