Unity using JSON from URL - EASY

preview_player
Показать описание
Lets load a json file from the web using just the url into unity. I use a json file to makde changes to my game easily. You can also use json to create an object dynamically.
Рекомендации по теме
Комментарии
Автор

you would not believe how useful this tutorial was for me. thank you, you saved my job

eyes-vx
Автор

Thanks! What a great teaching. It helps me a lot.

kevinchen
Автор

I like this, good pace so I don't have to pause. And good audio. I like that it's not so .. serious too :)

thooomyoness
Автор

This is a great video very helpful and clear cut!

integralmobilearcompany
Автор

you need to add "using system;" and "[Serialiazble]" which helps you to use List data ~

yanhuang
Автор

hello thanks for learn
have a problem i can get just string data but i can't get list property unity say me
NullReferenceException: Object reference not set to an instance of an object
Item.processJsonData (System.String _url) (at
() (at
(IEnumerator enumerator, IntPtr returnValueAddress) (at

this problem for unity version or error my syntax? I did your work face to face

iamzirotoxic
Автор

Hello, Thanks for this easy tutorial!!!! but can we fetch data using for loop with increment and comparing the "name" size??

anithah
Автор

i like this video which give me idea as a begginer

I wrote a JSON File which contain different Texts this as an example :
[
{

"Title" : "Introduction",
"Text" : "life is good and nice etc."
}
{

"Title" : "Description",
"Text" : "this car is beautiful etc."
}
]



just want these texts get displayed on Text Mesh Pro component in unity, first text mesh pro for the title and other for the text . and through a buttons Next and Back I can change from text to other. so I want to put the JSON file on a server and get it on unity components .. Please can you help me with that ?

nabilhamouda
Автор

Nice video, could you help me how to add UI for this ?

MadhuChander
Автор

What would you do in the case of it being a list of lists such as name: [["string", 1], ["string", 1], ["string", 1], ["string", 1]]? They don't have key names and are indexes from name[0][1] like this. Love the video thanks!

mistejoe
Автор

How to edit that data and get back to server. Please tell me that. I really need that

nishitladani
Автор

Does anybody know that how to imput the data form the url to Text of Canvas? I've tried to reach this purpose for a long time...

kevinchen
Автор

When you have a local .json file that needs to be stored in streamingassets, but the android build can't access it (bc it compresses it into apk) and all the solutions show how to access a json that's posted online as a url... Is there really no solution to accessing a local .json file? :/

WhimsyCottage
Автор

now WWW is obsolete, what would be the way to program the jsonController with UnityWebRequest? or it's just the same?

pauloxs
Автор

Uploaded this video on my birthday good sign, question would I be ale get a specific string from my website to steam in my unity game

shawnyification
Автор

Hi EATON. How do I implement all those data in my game ?

awalsingh
Автор

its not complete tutorial, can you show me how to load the image :'(

StickyLabDev
Автор

... next time, please less talk and more doing, nice content.

rafaelblancoNET
Автор

For anyone having trouble with getting the URL,





Thanks

aadityakiran_s
join shbcf.ru