UE4不同启动模式 FPaths::ProjectDir() 所在位置

获取UE4写本地文件缓存目录:FPaths::ConvertRelativePathToFull(FPaths::ProjectDir()) + TEXT(“KeCache/”);

1.Windows平台,代码以Development Editor/Development/DebugGame/DebugGameEditor方式编译,启动UE4安装目录的UE4Editor.exe,UE4 在视口中运行

1.1.代码以Development Editor方式编译
在这里插入图片描述
1.2.通过Local Windos Debugger启动,或者通过项目根目录的.uproject启动,或者直接去安装目录双击UE4Editor.exe启动,实际启动的都是UE4安装目录的UE4Editor.exe

猜你喜欢

转载自blog.csdn.net/tangfuling1991/article/details/121980156
今日推荐