UE5.4_Slate代码研究(1)
UE5.4_Slate代码研究(1)
跟着先看看运行时创建Slate窗口
我将会以插件的形式测试代码,如何新建插件,以及插件如何使用的常规问题希望看客自己可以学习一下,我就直接进去正题了!
插件模块依赖首当其冲,别出错咯!!
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core","InputCore",
// ... add other public dependencies that you statically link with here ...
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"CoreUObject",
"UnrealEd",
"Engine",
"Slate",
"SlateCore",
"UMG",
"AppFramework"
// ... add private dependencies that you statically link with here ...
}