Пример #1
0
        public static void ReportClick(string messageType)
        {
            const string processorURL = "http://unityninjas.com/unity/asset_store/report_click.php";

            string guid = GUIDManager.GetGUID();

            string getString = processorURL + "?guid=" + guid + "&product_id=" + InfoMessageBootstrap.PluginName +
                               "&message_type=" + messageType;

            StartWWWRequest(getString, null, null);
        }
Пример #2
0
        public static void ConnectToServer()
        {
            const string processorURL = "http://unityninjas.com/unity/asset_store/get_message.php";

            string guid = GUIDManager.GetGUID();

            string getString = processorURL + "?guid=" + guid + "&product_id=" + InfoMessageBootstrap.PluginName +
                               "&product_version=" + InfoMessageBootstrap.PluginVersion;

            StartWWWRequest(getString, ProcessServerReply, null);
        }