Skip to content

Is there a way to load some text files from content folder? #156

Answered by nxrighthere
piti6 asked this question in Help
Discussion options

You must be logged in to vote

so far, as I can access contents folder by System.IO, (on editor at least) is it safe to load file by using System.IO?

Yes, it's safe and this is pretty much a regular way to load content.

or is there alternative solution to do this? Like DataTable and AssetRegistryModule or something like that?

Generally, serialization of objects using JSON is preferable, but you can use any other data-interchange format you like.

I saw there is some methods that I can load some Blueprints or static meshes by path parameter.

The framework of the plugin covers some functionality for loading engine-specific content from a drive, for custom content, you are free to use any available 3rd-party libraries.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nxrighthere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants