Field PathInStreamingAssets
Where the base game's content directory sits inside StreamingAssets, and therefore inside the player.
It is declared here, on the runtime side, because the build processor that places it there is editor-only: a constant two files would otherwise each declare, and a mismatch between them is a content directory that is shipped to the wrong path and silently missing at runtime.
public const string PathInStreamingAssets = "Content/base/content-directory"
Returns
- string
- Where the base game's content directory sits inside StreamingAssets, and therefore inside the player. It is declared here, on the runtime side, because the build processor that places it there is editor-only: a constant two files would otherwise each declare, and a mismatch between them is a content directory that is shipped to the wrong path and silently missing at runtime.