Exemple #1
0
    // Use this for initialization
    void Start()
    {
        MiGuTv_InterFace temp = null;

        temp = GetComponent <MiGuTv_InterFace>();
        if (temp != null)
        {
            temp.MiGuTv_Initial("");
            //temp.MiGuTv_OnMonthPay("001");
            temp.MiGuTv_OnCountPay("001", "1234567890123456");
        }
    }
    /// <summary>
    /// 是否已经包月超时.
    /// </summary>
    //[HideInInspector]
    //public bool IsBaoYueChaoShi = false;
    /// <summary>
    /// 初始化.
    /// </summary>
    public void Init()
    {
        //IsLoginMiGuTv = false;
        IsDisplayMiGuPayUI = false;

        MiGuTv_InterFace miGuTvInterFace = pcvr.GetInstance().m_MiGuTv_InterFace;

        if (miGuTvInterFace != null)
        {
            //初始化咪咕支付.
            //miGuTvInterFace.MiGuTv_Initial();
            miGuTvInterFace.MiGuTv_Initial("");
            OnReceivedMiGuPayMsg("初始化咪咕支付");
        }
    }