Replies: 1 comment 4 replies
-
Hi, Not sure what you mean by save. If it's about persisting the data, so it can be retrieved across, say, web page visits, you can use any of the available browser persistence models, such as IndexedDb or FileSystem Access API. Also, Bootsharp is not limited to static functions, you can use instances as well: https://bootsharp.com/guide/interop-instances. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a function Load that loads a world from a byte arr. Is there any way to store the loaded world and for example access the loaded information later through another function. Since only static functions are allowed, it's kinda hard to do it. (Sorry if this is a bit basic. I am just getting into C#)
Even when making it static and just saving the world inside the function (which is not convenient) it will run, but not save the data into the world (I guess since the WorldSerialization is not static)
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions