Best Way to Load a file in as a TextAsset object?
Posted: Mon Oct 01, 2018 5:55 pm
I use Playmaker, and i'm trying to load a sql database file (.bytes) file from a folder into the game to use with some SimpleSql commands.
I need to set a database property that needs a TextAsset.
I can get easy save to see the file in the folder, but I am not sure how to set that file to a TextAsset Object in a Playmaker FSM, so I can then set the Property of the SQL database component using it.
I can "load" the file named "file name found with Get Files"... but how do I load it INTO a TextAsset?
I need to set a database property that needs a TextAsset.
I can get easy save to see the file in the folder, but I am not sure how to set that file to a TextAsset Object in a Playmaker FSM, so I can then set the Property of the SQL database component using it.
I can "load" the file named "file name found with Get Files"... but how do I load it INTO a TextAsset?