File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 5
5
* characteristics.
6
6
*/
7
7
type UnitySystemInfo = {
8
+ /** Name of the browser (e.g., 'Chrome', 'Firefox'). */
8
9
browser : string ;
10
+
11
+ /** Version of the browser (e.g., '91.0.4472.124'). */
9
12
browserVersion : string ;
13
+
14
+ /** Name of the detected GPU (e.g., 'NVIDIA GeForce GTX 1050'). */
10
15
gpu : string ;
16
+
17
+ /** Indicates if cursor lock is supported. */
11
18
hasCursorLock : boolean ;
19
+
20
+ /** Indicates if fullscreen mode is supported. */
12
21
hasFullscreen : boolean ;
22
+
23
+ /** Indicates if threads are supported. */
13
24
hasThreads : boolean ;
25
+
26
+ /** Indicates if WebAssembly is supported. */
14
27
hasWasm : boolean ;
28
+
29
+ /** Indicates if WebAssembly threads are supported. */
15
30
hasWasmThreads : boolean ;
31
+
32
+ /** Indicates the supported WebGL version (1 or 2). */
16
33
hasWebGL : 2 | 1 ;
34
+
35
+ /** Height of the browser window in pixels. */
17
36
height : number ;
37
+
38
+ /** Language of the browser (e.g., 'en-US'). */
18
39
language : string ;
40
+
41
+ /** Indicates if the device is mobile. */
19
42
mobile : boolean ;
43
+
44
+ /** Name of the operating system (e.g., 'Windows', 'macOS'). */
20
45
os : string ;
46
+
47
+ /** Version of the operating system (e.g., '10.15.7'). */
21
48
osVersion : string ;
49
+
50
+ /** User agent string of the browser. */
22
51
userAgent : string ;
52
+
53
+ /** Width of the browser window in pixels. */
23
54
width : number ;
24
55
} ;
25
56
You can’t perform that action at this time.
0 commit comments