@@ -5,6 +5,7 @@ export interface IUnityConfig {
5
5
* The url to the build json file generated by Unity. When using a relative url,
6
6
* keep in mind this is relative from the path where your html file is served.
7
7
* @public
8
+ * @readonly
8
9
* @type {string }
9
10
*/
10
11
readonly loaderUrl : string ;
@@ -13,6 +14,7 @@ export interface IUnityConfig {
13
14
* The url to the build data file generated by Unity. When using a relative url,
14
15
* keep in mind this is relative from the path where your html file is served.
15
16
* @public
17
+ * @readonly
16
18
* @type {string }
17
19
*/
18
20
readonly dataUrl : string ;
@@ -21,6 +23,7 @@ export interface IUnityConfig {
21
23
* The url to the framework file generated by Unity. When using a relative url,
22
24
* keep in mind this is relative from the path where your html file is served.
23
25
* @public
26
+ * @readonly
24
27
* @type {string }
25
28
*/
26
29
readonly frameworkUrl : string ;
@@ -29,6 +32,7 @@ export interface IUnityConfig {
29
32
* The url to the unity code file generated by Unity. When using a relative url,
30
33
* keep in mind this is relative from the path where your html file is served.
31
34
* @public
35
+ * @readonly
32
36
* @type {string }
33
37
*/
34
38
readonly codeUrl : string ;
@@ -37,37 +41,42 @@ export interface IUnityConfig {
37
41
* The url where the streaming assets can be found. When using a relative url,
38
42
* keep in mind this is relative from the path where your html file is served.
39
43
* @public
44
+ * @readonly
40
45
* @type {string }
41
46
*/
42
47
readonly streamingAssetsUrl ?: string ;
43
48
44
49
/**
45
50
* The applications company name.
46
51
* @public
52
+ * @readonly
47
53
* @type {string }
48
54
*/
49
55
readonly companyName ?: string ;
50
56
51
57
/**
52
58
* The applications product name.
53
59
* @public
60
+ * @readonly
54
61
* @type {string }
55
62
*/
56
63
readonly productName ?: string ;
57
64
58
65
/**
59
66
* The applications product version.
60
67
* @public
68
+ * @readonly
61
69
* @type {string }
62
70
*/
63
71
readonly productVersion ?: string ;
64
72
65
73
/**
66
74
* This object allow you to configure WebGLRenderingContext creation options
67
75
* which will be pass additional context attributes to the Unity canvas.
68
- * @see https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext
69
76
* @public
77
+ * @readonly
70
78
* @type {IWebGLContextAttributes }
79
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext
71
80
*/
72
81
readonly webglContextAttributes ?: IWebGLContextAttributes ;
73
82
}
0 commit comments