示例#1
0
    //-------------------------------------------------------------------------
    void _initNativeMsgReceiverListener()
    {
        var native_receiver = NativeReceiver.instance();

        native_receiver.TakePhotoReceiverListener = this;
        native_receiver.AudioControlListener      = this;
        var speech_receiver = SpeechReceiver.instance();

        speech_receiver.SpeechListener = this;
        var pay_receiver = PayReceiver.instance();

        pay_receiver.PayReceiverListener = this;
    }
        //---------------------------------------------------------------------
        void _initNativeMsgReceiverListener()
        {
            var native_receiver = NativeReceiver.instance();

            native_receiver.TakePhotoReceiverListener = this;
            native_receiver.AudioControlListener      = this;
            var pay_receiver = PayReceiver.instance();

            pay_receiver.PayReceiverListener = this;
            var thirdparty_login_receiver = ThirdPartyLoginReceiver.instance();

            thirdparty_login_receiver.ThirdPartyLoginReceiverListener = this;

            //#if  (UNITY_IPHONE||UNITY_ANDROID) && !UNITY_EDITOR
            //            ThirdPartyLogin.Instantce().initLogin(CasinosContext.Instance.Config.WeChatAppId);
            //#endif

            PushReceiver.instance();

            //OpenInstallReceiver.instance();
        }