Exemplo n.º 1
0
        public List <string> getPluginId()
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Capacity = 1024;
            AnySDKIAP.AnySDKIAP_nativeGetPluginId(stringBuilder);
            return(AnySDKUtil.StringToList(stringBuilder.ToString()));
        }
Exemplo n.º 2
0
        /**
         * @brief get plugin ids
         * @return List<string> the plugin ids
         */

        public List <string> getPluginId()
        {
#if !UNITY_EDITOR && (UNITY_ANDROID || UNITY_IOS)
            StringBuilder value = new StringBuilder();
            value.Capacity = AnySDKUtil.MAX_CAPACITY_NUM;
            AnySDKIAP_nativeGetPluginId(value);
            List <string> list = AnySDKUtil.StringToList(value.ToString());
            return(list);
#else
            Debug.Log("This platform does not support!");
            return(null);
#endif
        }