PackagedGameConfig
此内容尚不支持你的语言。
Defined in: packagedRuntime.ts:31
game.config.json — what an export bakes about the project, and the contract
between the export pipeline that writes it and every runtime that reads it.
One declaration so the two sides cannot drift.
Properties
Section titled “Properties”colorSpace?
Section titled “colorSpace?”
optionalcolorSpace?:"linear"|"gamma"
Defined in: packagedRuntime.ts:39
Project color space — ‘linear’ boots the linear-light pipeline.
entryScene
Section titled “entryScene”entryScene:
string
Defined in: packagedRuntime.ts:33
Project-relative path of the scene the game boots into.
hotUpdate?
Section titled “hotUpdate?”
optionalhotUpdate?:object
Defined in: packagedRuntime.ts:49
Hot-update delivery: the CDN root remote-group assets resolve against +
the storage key an applied update persists under (both optional).
persistUpdateKey?
Section titled “persistUpdateKey?”
optionalpersistUpdateKey?:string
remoteRoot?
Section titled “remoteRoot?”
optionalremoteRoot?:string
scenes?
Section titled “scenes?”
optionalscenes?:object[]
Defined in: packagedRuntime.ts:35
Every switchable scene (SceneManager name + cooked path); includes the entry.
name:
string
path:
string
screenFit?
Section titled “screenFit?”
optionalscreenFit?:object
Defined in: packagedRuntime.ts:42
Project camera fit (design resolution + scale mode) — letterboxes the main camera without a UI Canvas; absent = no fit.
designHeight
Section titled “designHeight”designHeight:
number
designWidth
Section titled “designWidth”designWidth:
number
matchWidthOrHeight
Section titled “matchWidthOrHeight”matchWidthOrHeight:
number
scaleMode
Section titled “scaleMode”scaleMode:
number
uiTheme?
Section titled “uiTheme?”
optionaluiTheme?:"light"
Defined in: packagedRuntime.ts:44
Project widget theme; absent = dark.
uiThemeColors?
Section titled “uiThemeColors?”
optionaluiThemeColors?:Record<string,string>
Defined in: packagedRuntime.ts:46
Project theme color overrides (role → #rrggbbaa hex).
ySortLayers?
Section titled “ySortLayers?”
optionalySortLayers?:number
Defined in: packagedRuntime.ts:37
Bitmask of render layers (0..31) that y-sort within the layer.