mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Add a method to set the 'MainDotCsDir' when no main.cs is available
This commit is contained in:
parent
6b7be51d61
commit
951ca817bb
1 changed files with 5 additions and 0 deletions
|
|
@ -620,3 +620,8 @@ DefineEngineFunction( getUserHomeDirectory, const char *, (), , "getUserHomeDire
|
||||||
{
|
{
|
||||||
return Platform::getUserHomeDirectory();
|
return Platform::getUserHomeDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DefineEngineFunction(setMainDotCsDir, void, (const char* path), , "setMainDotCsDir()")
|
||||||
|
{
|
||||||
|
Platform::setMainDotCsDir(StringTable->insert(path));
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue