Similar to Unity’s builtin Debug Log, is there a way to write strings to a .txt? this would be useful for creating a log for servers and such…
Errm. If you are using Standalone build, a log will be automatically created. It’s called output.log and it logs whatever you print/Debug.Log(). If that’t not what you need, you can write a script to use streamwriter or something similar to direct output to a .txt file or something similar.
It is possible since my game have a read txt function.
Never knew that existed. Did some rummaging around.
You can use System.IO.File.WriteAllText(filePath, yourString);, and it becomes javascript specific here