跳转到内容

AssetGroupDef

此内容尚不支持你的语言。

Defined in: asset/assetGroups.ts:28

One authored group: every asset under folder (recursively) joins it.

optional alwaysInclude?: boolean

Defined in: asset/assetGroups.ts:45

Ship every asset in this folder whether or not a scene references it.

A build cooks what it can REACH from the entry scenes, which is right for anything a scene names — and blind to anything named only in code: a path built at runtime, a texture in rich-text markup, a clip picked by id. This is where a project says so, rather than discovering at run time on a device that the file was culled. (Unity’s Resources folder and Unreal’s additional cook directories are the same declaration.)

Off by default: reachability is what keeps a build from shipping the whole project.


folder: string

Defined in: asset/assetGroups.ts:30

Project-relative folder whose assets belong to this group.


mode: "local" | "remote" | "subpackage"

Defined in: asset/assetGroups.ts:31