Add support for binary modules with native-code only
This commit is contained in:
@@ -456,7 +456,7 @@ int32 GameCookerImpl::ThreadFunction()
|
||||
|
||||
bool GameCookerService::Init()
|
||||
{
|
||||
auto editorAssembly = GetBinaryModuleFlaxEngine()->Assembly;
|
||||
auto editorAssembly = ((NativeBinaryModule*)GetBinaryModuleFlaxEngine())->Assembly;
|
||||
editorAssembly->Unloading.Bind(OnEditorAssemblyUnloading);
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user