Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


shortPath

The name of the file that the packed asset describes.
Read time 1 minuteLast updated 12 days ago

Definition

public string shortPath { get; }

Remarks

For Player builds this is 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