Skip to content

Type Alias: AssetKind ​

ts
type AssetKind = 
  | "texture"
  | "audio"
  | "font"
  | "video"
  | "prefab"
  | "animation"
  | "animgraph"
  | "renderTexture"
  | "material"
  | "shader";

What an asset-typed field accepts. 'texture' = a sprite frame (an image, or one frame of a spritesheet); 'animation' = a .anim clip. 'renderTexture' fields take only render textures; 'texture' fields take those too (a sprite can show what a camera draws).

© 2026 PlayAdGentic