mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Add a method to set the 'MainDotCsDir' when no main.cs is available
This commit is contained in:
parent
6b7be51d61
commit
951ca817bb
|
|
@ -620,3 +620,8 @@ DefineEngineFunction( getUserHomeDirectory, const char *, (), , "getUserHomeDire
|
|||
{
|
||||
return Platform::getUserHomeDirectory();
|
||||
}
|
||||
|
||||
DefineEngineFunction(setMainDotCsDir, void, (const char* path), , "setMainDotCsDir()")
|
||||
{
|
||||
Platform::setMainDotCsDir(StringTable->insert(path));
|
||||
}
|
||||
Loading…
Reference in a new issue