Beispiel #1
0
        //---------------------------------------------------------------------
        void _onWakeupFinish(io.openinstall.unity.OpenInstallData data)
        {
            string channel_code = " ";

            if (!string.IsNullOrEmpty(data.channelCode))
            {
                channel_code = data.channelCode;
            }

            string bind_data = " ";

            if (!string.IsNullOrEmpty(data.bindData))
            {
                bind_data = data.bindData;
            }

            var log = string.Format("MbMain._onWakeupFinish() 渠道编号={0},自定义数据={1}",
                                    channel_code, bind_data);

            Debug.Log(log);
        }
Beispiel #2
0
        //---------------------------------------------------------------------
        void _onWakeupFinish(io.openinstall.unity.OpenInstallData data)
        {
            Debug.Log("_onWakeupFinish");

            string channel_code = " ";

            if (!string.IsNullOrEmpty(data.channelCode))
            {
                channel_code = data.channelCode;
            }

            string bind_data = " ";

            if (!string.IsNullOrEmpty(data.bindData))
            {
                bind_data = data.bindData;
            }

            var log = string.Format("MbNative._onWakeupFinish() 渠道编号={0},自定义数据={1}",
                                    channel_code, bind_data);

            CasinosContext.Instance.AddLog(log);
        }