Template as attributes

Hi, I am trying to store template references in an attribute. But I could not find any hint. It seems asset types are only for “animation”, “audio”, “binary”, “cubemap”, “css”, “font”, “json”, “html”, “material”, “model”, “script”, “shader”, “text”, “texture”. Is it possible?

Hi @SiyahaS and welcome,

I’ve just given it a try and it seems to be working fine, maybe the docs need a small update there:

MyScript.attributes.add('templateAsset', {
    type: 'asset',
    assetType: 'template',