15 lines
658 B
Markdown
Raw Normal View History

2024-10-12 17:19:46 +08:00
# LongPackageName
- **功能描述:** 使用UE的风格来选择Content以及子目录或者把文件路径转换为长包名。
- **使用位置:** UPROPERTY
- **引擎模块:** Path Property
- **元数据类型:** bool
- **限制类型:** FDirectoryPathFFilePath
- **常用程度:** ★★★
LongPackageName可以同时用在FDirectoryPath和FFilePath都限制选取范围在Content目录内。
用在FDirectoryPath上的时候限制目录为Content或其子目录。
用在FFilePath的时候限制选择范围为Content里的资产最终把选取的文件路径转换为“/Game/ObjectPath”这种对象的路径名。