Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by rogueThiago · Sep 20, 2013 at 08:34 AM · loadgoogleaccessurlform

How to Load a URL? HELP

Ive just set up a link to a google drive form that when accessed submits a new value to a table https://docs.google.com/forms/d/1KwZiFbQtPpPdYsASktxKMPb_4gwqXluMU5d5IocgDH4/formResponse?ifq&entry.431028025=HELLOWORLD&submit=Submit When its accessed I can see in a table on my google drive what's in capital letters, in this case **HELLOWORLD**, but its not working. I tried to use the class WWW, but didn't solve my problem

the form can be manual filled with the link below linkbelow https://docs.google.com/forms/d/1KwZiFbQtPpPdYsASktxKMPb_4gwqXluMU5d5IocgDH4/viewform

If it work, will provide for any user to have a kind of particular server for making statistics for the Game... In my case I will implement this code to know how many times my game is played or the times the player looses in a level... etc...

How it's show to the administrator

https://docs.google.com/spreadsheet/ccc?key=0AvdVUMwvp-BPdGpJdTJacEZFUUQwVDRrNXRzYmhocXc#gid=0

Comment
Add comment · Show 10
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tarlius · Sep 20, 2013 at 09:02 AM 0
Share

Slightly off topic, but are you aware of google analytics?

Back on topic: I believe WWW is what you want, but without code you probably won't get a useful response. What have you tried, and why didn't it solve your problem?

avatar image rogueThiago · Sep 20, 2013 at 09:27 AM 0
Share
 var url = "https://docs.google.com/forms/d/1$$anonymous$$wZiFbQtPpPdYsASktx$$anonymous$$$$anonymous$$Pb_4gwqXlu$$anonymous$$U5d5IocgDH4/formResponse?ifq&entry.431028025=THEGA$$anonymous$$ESTARTED&submit=Submit";
 
 function Start () {
     yield url;
 }    

Where's written THEGA$$anonymous$$ESTARTED doesn't appear on my google table, when the link above is clicked in a browser it works, but when I try to make a connection with unity THEGA$$anonymous$$ESTARTED doesn't appear

avatar image mattssonon · Sep 20, 2013 at 09:29 AM 0
Share

So, doing this doesn't work?

 var www : WWW = new WWW ("https://docs.google.com/forms/d/1$$anonymous$$wZiFbQtPpPdYsASktx$$anonymous$$$$anonymous$$Pb_4gwqXlu$$anonymous$$U5d5IocgDH4/formResponse?ifq&entry.431028025=HELLOWORLD&submit=Submit");

Also, take a look at gameanalytics.com

avatar image Tarlius · Sep 20, 2013 at 09:36 AM 0
Share

In that snippet you didn't mention the WWW class at all... Try matt's

avatar image rogueThiago · Sep 20, 2013 at 09:36 AM 0
Share

I tried too, but didn't work

What happens, below is my default url form, when clicked you can post anything here https://docs.google.com/forms/d/1$$anonymous$$wZiFbQtPpPdYsASktx$$anonymous$$$$anonymous$$Pb_4gwqXlu$$anonymous$$U5d5IocgDH4/viewform

Here is the same thing but I set a default value https://docs.google.com/forms/d/1$$anonymous$$wZiFbQtPpPdYsASktx$$anonymous$$$$anonymous$$Pb_4gwqXlu$$anonymous$$U5d5IocgDH4/viewform?&entry.431028025=HELLOWORLD⊂mit=Submit

Here its automatically submit the value https://docs.google.com/forms/d/1$$anonymous$$wZiFbQtPpPdYsASktx$$anonymous$$$$anonymous$$Pb_4gwqXlu$$anonymous$$U5d5IocgDH4/formResponse?ifq&entry.431028025=HELLOWORLD⊂mit=Submit

everything can be seen in this table https://docs.google.com/spreadsheet/ccc?key=0AvdVU$$anonymous$$wvp-BPdGpJdTJacEZFUUQwVDRrNXRzYmhocXc#gid=0

With unity... it's not working properly, because don't submit what I set with capital letters

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by mattssonon · Sep 20, 2013 at 09:57 AM

I just did this in Unity, and it works fine (look at your table, it's updated with my info):

         WWW www = new WWW("https://docs.google.com/forms/d/1KwZiFbQtPpPdYsASktxKMPb_4gwqXluMU5d5IocgDH4/formResponse?ifq&entry.431028025=test&submit=Submit");
 


Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Master_Chief · Sep 20, 2013 at 09:16 AM

Application.OpenURL("YourURL");

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rogueThiago · Sep 20, 2013 at 09:20 AM 0
Share

But this exits the game for a while... Need to be invisible to the user

avatar image Tarlius · Sep 20, 2013 at 09:21 AM 0
Share

According to the docs, that will open the window in a browser, which doesn't appear to be what the OP wants.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

load URL images in Webgl. 1 Answer

WWW Request for image error, unsupported URL 1 Answer

Asset Bundles and dynamic loading 0 Answers

Is it possible to load a script from a url? 1 Answer

I want to load object from my computer or google drive. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges