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 55 * characteristics.
66 */
77type UnitySystemInfo = {
8+ /** Name of the browser (e.g., 'Chrome', 'Firefox'). */
89 browser : string ;
10+
11+ /** Version of the browser (e.g., '91.0.4472.124'). */
912 browserVersion : string ;
13+
14+ /** Name of the detected GPU (e.g., 'NVIDIA GeForce GTX 1050'). */
1015 gpu : string ;
16+
17+ /** Indicates if cursor lock is supported. */
1118 hasCursorLock : boolean ;
19+
20+ /** Indicates if fullscreen mode is supported. */
1221 hasFullscreen : boolean ;
22+
23+ /** Indicates if threads are supported. */
1324 hasThreads : boolean ;
25+
26+ /** Indicates if WebAssembly is supported. */
1427 hasWasm : boolean ;
28+
29+ /** Indicates if WebAssembly threads are supported. */
1530 hasWasmThreads : boolean ;
31+
32+ /** Indicates the supported WebGL version (1 or 2). */
1633 hasWebGL : 2 | 1 ;
34+
35+ /** Height of the browser window in pixels. */
1736 height : number ;
37+
38+ /** Language of the browser (e.g., 'en-US'). */
1839 language : string ;
40+
41+ /** Indicates if the device is mobile. */
1942 mobile : boolean ;
43+
44+ /** Name of the operating system (e.g., 'Windows', 'macOS'). */
2045 os : string ;
46+
47+ /** Version of the operating system (e.g., '10.15.7'). */
2148 osVersion : string ;
49+
50+ /** User agent string of the browser. */
2251 userAgent : string ;
52+
53+ /** Width of the browser window in pixels. */
2354 width : number ;
2455} ;
2556
You can’t perform that action at this time.
0 commit comments