Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions source/interfaces/unity-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ export interface IUnityConfig {
*/
readonly codeUrl: string;

/**
* The url to the framework file generated by Unity. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
* This is set to the memory file when memory is stored in an external file, otherwise it is set to an empty string.
* @public
* @readonly
* @type {string}
*/
readonly memoryUrl?: string;

/**
* The url to the unity code file generated by Unity. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
* This is set to the JSON file containing debug symbols when the current build is using debug symbols, otherwise it is set to an empty string.
* @public
* @readonly
* @type {string}
*/
readonly symbolsUrl?: string;

/**
* The url where the streaming assets can be found. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
Expand Down
20 changes: 20 additions & 0 deletions source/interfaces/unity-instance-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,26 @@ export interface IUnityInstanceParameters {
*/
readonly codeUrl: string;

/**
* The url to the framework file generated by Unity. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
* This is set to the memory file when memory is stored in an external file, otherwise it is set to an empty string.
* @public
* @readonly
* @type {string}
*/
readonly memoryUrl?: string;

/**
* The url to the unity code file generated by Unity. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
* This is set to the JSON file containing debug symbols when the current build is using debug symbols, otherwise it is set to an empty string.
* @public
* @readonly
* @type {string}
*/
readonly symbolsUrl?: string;

/**
* The url where the streaming assets can be found. When using a relative url,
* keep in mind this is relative from the path where your html file is served.
Expand Down