Runtime Environment
Runtime Environment block contains runtime environment information.
Identifier
ts
const RuntimeEnvironmentId = 1000Values
| Index | Initial Value | Description |
|---|---|---|
| 0 | ? | Debug mode: 1 = Yes, 0 = No |
| 1 | ? | Screen aspect ratio |
| 2 | ? | Audio offset |
| 3 | ? | Input offset |
| 4 | ? | Multiplayer: 1 = Yes, 0 = No |
| 5 | ? | Safe area X min |
| 6 | ? | Safe area X max |
| 7 | ? | Safe area Y min |
| 8 | ? | Safe area Y max |
Access
| Callback | Read | Write |
|---|---|---|
preprocess | ✔ | ✔ |
spawnOrder | ✔ | ❌ |
shouldSpawn | ✔ | ❌ |
initialize | ✔ | ❌ |
updateSequential | ✔ | ❌ |
touch | ✔ | ❌ |
updateParallel | ✔ | ❌ |
terminate | ✔ | ❌ |