Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     ap = new ApiPayment();
     ap.SetStatusApi(Paymentwall_Base.API_GOODS);
     ap.Attach(goodApi);
     ap.Attach(vcApi);
     ap.Notify();
 }
Ejemplo n.º 2
0
    public void OnChangeDropDown()
    {
        if (dropDown.value == 0)
        {
            ap.SetStatusApi(Paymentwall_Base.API_GOODS);
        }
        else if (dropDown.value == 1)
        {
            ap.SetStatusApi(Paymentwall_Base.API_VC);
        }

        ap.Notify();
    }