private void init(string title, string message, string ok)
    {
                #if UNITY_WP8
        MNWP8Message msg = MNWP8Message.Create(title, message);
        msg.OnComplete += OnCompleteListener;
                #endif


                #if UNITY_IPHONE
        MNIOSMessage msg = MNIOSMessage.Create(title, message, ok);
        msg.OnComplete += OnCompleteListener;
                #endif

                #if UNITY_ANDROID
        MNAndroidMessage msg = MNAndroidMessage.Create(title, message, ok);
        msg.OnComplete += OnCompleteListener;
                #endif
    }
Ejemplo n.º 2
0
    private void init(string title, string message, string ok)
    {
                #if UNITY_WP8 || UNITY_METRO
        MNWP8Message msg = MNWP8Message.Create(title, message);
        msg.addEventListener(BaseEvent.COMPLETE, OnCompleteListener);
                #endif


                #if UNITY_IPHONE
        MNIOSMessage msg = MNIOSMessage.Create(title, message, ok);
        msg.addEventListener(BaseEvent.COMPLETE, OnCompleteListener);
                #endif

                #if UNITY_ANDROID
        MNAndroidMessage msg = MNAndroidMessage.Create(title, message, ok);
        msg.addEventListener(BaseEvent.COMPLETE, OnCompleteListener);
                #endif
    }