mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Add a method to set the 'MainDotCsDir' when no main.cs is available
This commit is contained in:
parent
2fe623b761
commit
13eb392c98
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue