Example #1
0
        public void setListener(QuickSDKListener listener)
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            androidSupport.setListener(listener);
#endif
        }
Example #2
0
        public void setListener(QuickSDKListener listener)
        {
#if UNITY_IOS && !UNITY_EDITOR
            string gameObjectName = listener.gameObject.name;
            quicksdk_nativeSetListener(gameObjectName);
#elif UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            androidSupport.setListener(listener);
#endif
        }