Open lvhuming opened 5 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.
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
.
runtime support?