Type Alias: AssetType
ts
type AssetType =
| "texture"
| "font"
| "bitmapFont"
| "audio"
| "json"
| "binary"
| "spritesheet"
| "video"
| "renderTexture"
| "shader"
| "material";'font' family name = asset id by framework convention. 'spritesheet' is TexturePacker JSON Hash; the backend registers each frame under its own id too. 'renderTexture' is a RenderTextureSettings JSON file: the backend creates an empty texture of that size, which a camera draws into (CameraComponent.targetTexture) and sprites show like any other texture.