Jump to content

make get****Path avaliable to include/Unigine.h


photo

Recommended Posts

Posted

I'm writing a sqlite plugin for database support, implement a vfs support of sqlite from a plugin is almost no use, because a database means to change the data in it, so can't pack database file into ung nor zip.

 

this leads to a problem, current engine interface don't have getDataPath function, so I need these function accessible by C++ API.

Posted

Will be available in the next update.

 

Right now you can emulate this feature via engine->runSystem("engine.getDataPath").getString() functions.

×
×
  • Create New...