我一直在使用下面的代码来获取文件名,它对我来说很好。但我的文件名没有扩展名(.uasset)。
const FString fileName = FPaths::GetCleanFilename(filePath);
在此先感谢您的帮助。
我一直在使用下面的代码来获取文件名,它对我来说很好。但我的文件名没有扩展名(.uasset)。
const FString fileName = FPaths::GetCleanFilename(filePath);
在此先感谢您的帮助。