UE /Game/ 路径是在引擎下面 还是在自己的项目下面
时间: 2023-12-07 09:03:31 浏览: 85
UE /Game/ 路径是在自己的项目下面。在UE4中,每个项目都有自己的文件夹,在该文件夹中包含了项目的所有内容,包括代码、蓝图、资产等。在该文件夹下会有一个Content文件夹,所有的资源文件都会存放在这个文件夹下,其中包括 /Game/ 文件夹。因此,UE /Game/ 路径是在自己的项目下面。
相关问题
/storage/emulated/0/Android/data/com.tencent.ig/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/
/storage/emulated/0/Android/data/com.tencent.ig/filesUE4Game/ShadowTrackerExtra/ShadowTrackerExtra/ 是一个文件路径,它位于Android设备上的存储空间中。具体来说,这是一个路径指向游戏"绝地求生:刺激战场"(PUBG Mobile)的文件夹。
在这个文件夹中,"UE4Game"是游戏引擎的文件夹,"ShadowTrackerExtra"是游戏的名称,"ShadowTrackerExtra"是游戏的主要文件夹。这个路径下可能包含游戏的配置文件、存档、日志文件等。
请注意,这个路径是根据您提供的信息推测得出的,具体内容可能因设备、游戏版本等因素而有所不同。
ue5 UAssetBrowser插件是如何实现读取其他 项目的文件的
UE5中的UAssetBrowser插件可以通过使用AssetRegistry模块来读取其他项目的文件。AssetRegistry模块提供了一种检索引擎中所有资产信息的方法,包括资产的路径、类型、标记和依赖关系等。
在UAssetBrowser插件中,您可以使用AssetRegistry模块的FAssetRegistryModule类来获取AssetRegistry对象,并使用AssetRegistry对象来检索其他项目中的资产信息。以下是一个基本的示例代码,演示如何使用AssetRegistry模块来检索其他项目中的资产信息:
```
#include "AssetRegistryModule.h"
// Get the AssetRegistry module
FAssetRegistryModule& AssetRegistryModule = FModuleManager::Get().GetModuleChecked<FAssetRegistryModule>("AssetRegistry");
// Create a new AssetRegistry object
TSharedRef<IAssetRegistry> AssetRegistry = AssetRegistryModule.Get();
// Get the list of all assets in the specified path
TArray<FAssetData> AssetDataList;
AssetRegistry->GetAssetsByPath(FName("/Game/OtherProject"), AssetDataList, true);
```
在上面的代码中,我们首先获取AssetRegistry模块,然后创建一个新的AssetRegistry对象。然后,我们使用GetAssetsByPath函数来检索其他项目中指定路径下的所有资产信息,并将结果存储在AssetDataList数组中。
注意,上述代码仅演示了如何使用AssetRegistry模块读取其他项目中的资产信息。要使用这些资产,您可能需要加载它们并在游戏中使用它们。这需要更多的代码和逻辑来实现。
相关推荐
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://img-home.csdnimg.cn/images/20210720083646.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)