|
https://docs.unrealengine.com/4. ... eSlot/AllowScaling/
这个一定要看官方API介绍,看Module是属于哪个,然后检查.cs文件是否缺少了,
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Projects",
"InputCore",
"UnrealEd",
"ToolMenus",
"CoreUObject",
"Engine",
"Slate",
"EditorStyle",
"GraphEditor",
//"UMG",
"SlateCore",
// ... add private dependencies that you statically link with here ...
}
);
补上
#include "Editor/GraphEditor/Public/SNodePanel.h"
GetOrAddSlot(ENodeZone::Center)这里是缺少了"GraphEditor",
|
|