Version 1.2x introduced decoupled pipeline, this is new way to import SDF sprites.
SDFAsset
is a file with extension *.sdfasset handled by custom importer.
It can be created in context menu.
Or in Texture Importer with button
SDFAsset
that referencing fencing.png, all sdf contents is generated inside of itSDFAsset
is product of SDFAssetImporter.cs, it works almost the same as sdf importer for regular pipeline, it generates same sub-assets but using different host/main object.
SDFAsset
as well, so once you setup the reference you don’t need to worry about manually updating SDFAsset
.Since SDFAsset
can be anywhere in the project and still reference texture its useful to know which asset using particular texture.
<aside> 💡 Switch Inspector to debug mode in order to see SDFAsset itself
</aside>