How to Access XML Data in Unity - Game Development Tutorial

  Рет қаралды 9,618

Turbo Makes Games

Turbo Makes Games

Күн бұрын

Пікірлер: 24
@stitchfinger7678
@stitchfinger7678 2 жыл бұрын
The first tutorial in 2 years that ever made sense. A thousand blessings upon your household.
@TurboMakesGames
@TurboMakesGames 2 жыл бұрын
Wonderful, glad to hear this, cheers!
@marwincsantos1550
@marwincsantos1550 5 жыл бұрын
Awesome you helped me a lot! Exactly what i'm looking.
@TurboMakesGames
@TurboMakesGames 5 жыл бұрын
That's great to hear! Glad I was able to help out :)
@maxdolmans7225
@maxdolmans7225 5 жыл бұрын
Great tutorial just what I needed to learn for my project :) Lot's of different use cases covered too! They made me wrap my head around the interaction between xml and C# :) Subbing !
@TurboMakesGames
@TurboMakesGames 5 жыл бұрын
So glad to hear this! XML is really useful for many things in game development and makes things much easier once you know how to use it :)
@sanaasyed4570
@sanaasyed4570 3 жыл бұрын
Leaving a comment..Caz this tutorial helped me a lot!!!
@TurboMakesGames
@TurboMakesGames 3 жыл бұрын
So great to hear this, thanks for sharing!!
@boismd
@boismd 5 жыл бұрын
man this is what i actually searching for thank you .. i was searching all day and scrolled down way too much till i found your video, this video need to be on top actually haha now i just wanna know is there any tutorial on modifying the data? in example if the weapon have durability etc that will decreased , is it using serializable ? thx you
@TurboMakesGames
@TurboMakesGames 5 жыл бұрын
Awesome! The reason I made this video was because I was trying to do this exact thing but no one else had a video or anything else on it. So glad this information was helpful to you as well :) One way to modify the XML data is to just set the Inner text of the specific XML node then save the XML file to keep the changes. For example if we wanted to change the title of an item in my sample project we could do this: curNode["ItemTitle"].InnerText = "EDITED TITLE"; itemDataXml.Save(Application.dataPath + "/Resources/XML/InventoryItemData.xml"); Hope this helps you out, let me know if you have any further questions.
@boismd
@boismd 5 жыл бұрын
@@TurboMakesGames thnks will try this do you think we can use this method to create a dialogue system in game?
@TurboMakesGames
@TurboMakesGames 5 жыл бұрын
@@boismd Yes, there might be better and more efficient ways to create a dialogue system depending on how complex of a dialogue system you want to make. But the structure of XML leads itself pretty well to a dialogue system with multiple responses and even small bits of data attached to them to make branching paths.
@Frazcaideadlol__
@Frazcaideadlol__ Жыл бұрын
Hey kinda 4 years late. But I have a question. I usually use xml files for animations. Could I possibly use xmls for unity? Like mabye a script or something?
@TechLevelGames
@TechLevelGames 3 жыл бұрын
Thanks for tutorial! Best! Very helpful!
@TurboMakesGames
@TurboMakesGames 3 жыл бұрын
Glad to hear, thanks!
@ptardp6722
@ptardp6722 4 жыл бұрын
this offline ?
@ptardp6722
@ptardp6722 4 жыл бұрын
working for Android ?
@OwlTeaGames
@OwlTeaGames 4 жыл бұрын
yes it does work for android!
@TheOriginalElkstone
@TheOriginalElkstone Жыл бұрын
0:48 to skip the random unnecessaryfacecam
How to Properly Rotate Tetris Pieces - Game Development Tutorial
35:23
Turbo Makes Games
Рет қаралды 24 М.
Saving Data in Unity: XML Files
42:26
Board To Bits Games
Рет қаралды 70 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 25 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
How to SAVE and LOAD XML Files DATA in Unity
14:41
Beaver Joe
Рет қаралды 11 М.
Unity ScriptableObject. Пишем простой инвентарь
6:08
Insane One - Разработка игр
Рет қаралды 48 М.
Better Coding in Unity With Just a Few Lines of Code
15:27
Firemind
Рет қаралды 314 М.
SAVE & LOAD SYSTEM in Unity
18:20
Brackeys
Рет қаралды 1,1 МЛН
How to Build A Save System in Unity
9:41
Game Dev Guide
Рет қаралды 172 М.
JetBrains Rider Is Now FREE for Personal Use!
12:46
Turbo Makes Games
Рет қаралды 1,4 М.
[UNITY 3D]Гайд по быстрому - Хранение и получение данных в Xml
10:54
N'ytu UniDev (разработка игр на Unity)
Рет қаралды 2 М.
skibidi toilet multiverse 043
5:03
DOM Studio
Рет қаралды 3,8 МЛН
[RU] BLAST Premier World Final 2024 - День 5
3:45:53
RLG PARI RU
Рет қаралды 202 М.
Nightmare | Update 0.31.0 Trailer | Standoff 2
1:14
Standoff 2
Рет қаралды 762 М.
REAL MADRID 0 - 4 FC BARCELONA | RESUMEN LALIGA EA SPORTS
3:35
LALIGA EA SPORTS
Рет қаралды 16 МЛН