文档

Unity Engine

Unity Engine

shortPath

The file name
阅读时间1 分钟最后更新于 1 个月前

Definition

public string shortPath { get; }

Remarks

For player builds this the filename relative to the Data folder of the build, for example "globalgamemanagers.assets.resS".
For an AssetBundle this is the filename inside the Unity Archive file, for example "CAB-cc6c60ef8808e0fc6663136604321554" and "CAB-cc6c60ef8808e0fc6663136604321554.resS".
Additional Resources: BuildFile