diff --git a/source/interfaces/unity-config.ts b/source/interfaces/unity-config.ts index e85826ad..84dbae0b 100644 --- a/source/interfaces/unity-config.ts +++ b/source/interfaces/unity-config.ts @@ -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. diff --git a/source/interfaces/unity-instance-parameters.ts b/source/interfaces/unity-instance-parameters.ts index 52701468..01cd2158 100644 --- a/source/interfaces/unity-instance-parameters.ts +++ b/source/interfaces/unity-instance-parameters.ts @@ -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.