UE4 C++创建继承于UEditorSubsystem类时报错

使用UEditorSubsystem需要在Build.cs里加上EditorSubsystem模块的引用,因为这是编辑器模块

if (Target.bBuildEditor)
{
    PublicDependencyModuleNames.AddRange(new string[] { "EditorSubsystem" });
}

猜你喜欢

转载自blog.csdn.net/qq_41410054/article/details/124293500