コード例 #1
0
        void InitConnectionWithGooglePlay()
        {
            m_BillingClientStateListener.RegisterOnConnected(OnConnected);
            m_BillingClientStateListener.RegisterOnDisconnected(OnDisconnected);

            StartConnection();
        }
コード例 #2
0
 void InitConnectionWithGooglePlay(IBillingClientStateListener billingClientStateListener)
 {
     billingClientStateListener.RegisterOnConnected(OnConnected);
     billingClientStateListener.RegisterOnDisconnected(OnDisconnected);
     m_BillingClient.StartConnection(billingClientStateListener);
 }