
Unity plugin for artists: automatic texture assignment📌 1. Key features:✅ 1.1. Batch folder processing is supportedSupport dragging and dropping folders to the editor window to automatically add them to the target list.Allow manual selection of folders for batch processing.Multi-folder management: You can delete a single or all destination folders, and the interface is user-friendly.✅ 1.2. Smart Map MatchingNaming convention-based matching system:Automatically identify the map type and match it to material properties with suffixes such as , _B_N_AOWith editable mapping rules, users have the flexibility to modify or add new suffix rules.Efficient Material Caching:All materials are pre-loaded and stored to avoid duplicate loading and improve matchmaking.DictionaryFile Format Support:Compatible with texture formats: png.jpg.jpeg.tga.tif (can be extended to support)✅ 1.3. Maps are automatically assignedAutomatically Find Materials with the Same Name and assign the map to the corresponding Shader property (such as)._BaseMap_BumpMapNormal Map Special Handling:If the map is matched, and the material supports it, it will be automatically set to optimize the normal effect._N_BumpScaleBumpScale = 1.0f✅ 1.4. Visualize UI actionsAn intuitive GUI interface that provides:The drag-and-drop area is used to quickly add folders.Editable list of suffix mappings (support addition and deletion).Preview of the match results to quickly see the matched materials.One-click positioning of materials: Click the button to highlight the selected material directly in the Unity Asset Manager.Locate✅ 1.5. Configure template managementCustom naming conventions can be loaded quickly.Naming rule templates can be saved/loaded, making it easy for different projects or teams to share rules:It is stored in JSON format and has high compatibility.Save the current rule to .Assets/Editor/NamingRuleTemplates🚀 2. Key Benefits:🛠 2.1. Improve the efficiency of map matchingAvoid the tedious operation of manually assigning maps, automatically complete the matching of materials and maps, and reduce human error.It supports batch processing and can be applied to textures in multiple folders at one time, greatly improving work efficiency.🎯 2.2. ScalabilityUsers can customize suffix matching rules to support different material systems (such as Unity standard shader, custom shader).Support saving/reading rule templates, which can be reused across projects to improve team collaboration efficiency.⚡ 2.3. Friendly editor UIIntuitive and easy-to-use GUI, no need to manually enter paths, just drag and drop folders to complete texture matching.Visualize the matching results, view the matched materials with one click, and quickly locate the problem and adjust it.🔄 2.4. Compatible with Unity workflowBased on the AssetDatabase operation, it is deeply integrated with the Unity asset management system to avoid manual manipulation of asset files.Support for the Undo mechanism ensures that changes can be undone for added security.Optimize the AssetDatabase.Refresh() call to avoid frequent refreshes affecting performance.If you encounter any problems or have good suggestions, please feel free to contact us by email635932284@qq.com1.Bulk folder supportAllows dragging and dropping or manually selecting multiple folders for processing2.Auto-match rulesAutomatically identify the map type by naming the suffix and assign it to the correct material attributes3.Visual UIIntuitive interface operation, support one-click deletion, positioning, and clearing of matching results4.JSON rule templatesNaming conventions can be saved/read for different projects or teams to share5.Efficient cachingPreload the material cache to reduce the number of calls and improve performanceAssetDatabase.LoadAssetAtPath6.Special handling of normal mapsIf the Map is matched, it will be automatically adjusted to optimize the normal effect_N_BumpScale7.Multiple file formats supportedjpg..png.jpeg.tga.tif(extensible)8.Undo revoke supportAllows you to undo material assignments, which is safe and controllable9.support AssetDatabaseDirectly manipulate the Unity asset database in accordance with the Unity Editor development specifications