You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a legitimate need for this, because I am making a world editor web app where the user loads a file from a web dialog. I can get the file contents on web, but loading it from an asset server doesn't work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've seen the https://github.com/bevyengine/bevy/blob/main/examples/scene/scene.rs example
From what I gather, saving a scene as a ron file is easy:
and reading a ron file is easy through the asset server:
The question I have is, how would I load a file from plain text?, e.g.
This doesn't compile.
I have a legitimate need for this, because I am making a world editor web app where the user loads a file from a web dialog. I can get the file contents on web, but loading it from an asset server doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions