
(Easy Task) Unity Game Engine Example Txt file Asset into a List
- or -
Post a project like this1603
£10(approx. $13)
- Posted:
- Proposals: 4
- Remote
- #3061497
- Awarded
Description
Experience Level: Entry
Very easy task for anyone with any amount of experience really.
I'm after some working example code that allows me to load a .txt file into the Unity game Editor as a string List.
Text File would contain something like
"Item 1
Item 2
Item 3" (Each item on a new line)
I then want to load the Txt file into Unity as a new string List.
Which I can then do a foreach loop on the generated list to do what I need it to do.
Basically in future I want to add to the txt file outside of the app and it loads the file in seamlessly on start.
Ive been trying to figure this out and its just not working for me.
Many Thanks for looking at my ad!
John
I'm after some working example code that allows me to load a .txt file into the Unity game Editor as a string List.
Text File would contain something like
"Item 1
Item 2
Item 3" (Each item on a new line)
I then want to load the Txt file into Unity as a new string List.
Which I can then do a foreach loop on the generated list to do what I need it to do.
Basically in future I want to add to the txt file outside of the app and it loads the file in seamlessly on start.
Ive been trying to figure this out and its just not working for me.
Many Thanks for looking at my ad!
John

John H.
100% (5)Projects Completed
5
Freelancers worked with
5
Projects awarded
43%
Last project
25 Sep 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies