- Home
- Skills
- Besty0728
- Unity Skills
- Importer
importer_skill
- C#
44
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill besty0728/unity-skills --skill importer- SKILL.md6.0 KB
Overview
This skill provides programmatic control over Unity asset import settings for Textures, Audio, and Models. It supports single-asset operations and batch variants for applying the same configuration to multiple assets in one call. Use it to enforce consistent import policies, reduce repetitive work, and optimize runtime memory and performance.
How this skill works
The skill inspects and updates importer properties by asset path (e.g., Assets/Textures/icon.png). For textures it handles type, size, filtering, compression, mipmaps, sRGB, readability, wrap mode, and sprite pixels-per-unit. For audio it adjusts load type, compression format, mono conversion, background loading, and quality. For models it sets scale, mesh compression, read/write, UV generation, blend shapes, camera/light import, and animation options. Batch variants accept an items array to change 2+ assets with one call.
When to use it
- When standardizing import settings across a project
- When converting many UI images to Sprite type
- When optimizing audio assets for streaming or low-latency SFX
- When preparing models for runtime (scale, compression, animation settings)
- When you need to disable expensive read/write flags programmatically
Best practices
- Prefer batch APIs whenever configuring two or more assets to reduce calls and speed up processing
- For UI textures use Sprite type, disable mipmaps, and set readable=false unless GetPixel is required
- Use Streaming for long BGM and DecompressOnLoad for short SFX; Vorbis at 0.5–0.7 balances size and quality
- Apply Point filtering for pixel art and Bilinear/Trilinear for smooth textures
- For static models enable generateSecondaryUV for lightmapping and disable camera/light import for props
Example use cases
- Convert an entire UI folder to sprites with a single batch call and disable mipmaps
- Set all SFX to DecompressOnLoad and force mono where appropriate for low latency
- Batch-optimize environmental props: high mesh compression, no animations, generate lightmap UVs
- Configure character FBX to Humanoid with medium mesh compression and import blend shapes
- Query current import settings for an asset before modifying them to avoid regressions
FAQ
Use the batch variant whenever you need to configure two or more assets. It reduces API calls and is faster for bulk changes.
What values are valid for texture maxSize and compression?
Max size options include 32–8192. Compression options include None, LowQuality, Normal, and HighQuality; filter modes include Point, Bilinear, and Trilinear.