Batname / UE4MultiWindow

85 stars 32 forks source link

runtime support? #1

Open lvhuming opened 5 years ago

lvhuming commented 5 years ago

runtime support?

clementshimizu commented 4 years ago

Someone has a branch with some commits that look like there are attempting to port it to the runtime but I wasn't able to get to a packaged project due to dependencies on editor components.

https://github.com/raptoravis/UE4MultiWindow

ibbles commented 4 months ago

The editor dependencies can be removed for runtime builds by editing PlayScene.Build.cs. Remove UnrealEd and LevelEditor from the big PrivateDependencyModuleNames list and add

if (Target.Type == TargetRules.TargetType.Editor)
{
    PrivateDependencyModuleNames.AddRange(new string[] {"UnrealEd", "LevelEditor"});
}

afterwards.

Also guard everything Level Editor related in PlayScene.cpp with #if WITH_EDITOR.