- Home /
Make a txt and storing runtime info
Hi all, I made a script which spawns 12 gameobjects in random positions inside my scene (in different rooms). I have 9 different game levels, so I have one such script for each level and 9 folders of 12 objects each (1 folder for each level).What I would like to do now is to make a text (?) file so that I can store info related to this script. For example level 1, 12 gameobjects (number1,number2,number3...number12),room type etc. I have no idea how to approach the solution...Any suggestions?
Look into File.IO, it is used to create files and read files. You just write the data to txt in a way that you can reread it easily back into your gameobjects.
Your answer
Follow this Question
Related Questions
I'm using Java Script with import System.IO. 1 Answer
Loading TextAsset under different scenes 1 Answer
Save/Copy a .txt file a runtime 1 Answer
shooting prefab in the direction of the character 1 Answer
Spawner control and ending the level 0 Answers