Modified from stopper's plugin. Functional changes compared to the original:
Here's what this version does better than the original:
相比原版,这个版本做了这些优化:
Here's what this version does better than the original:
Your presets come first — presets you saved yourself are never overwritten by ones bundled in var packages
Presets work on anyone's PC — presets packed inside a var now load perfectly for other users
Smarter preset naming — presets named after a clothing item (like "SkirtA.default") are picked up automatically
Reliable scene loading — clothing plugins no longer randomly fail to load or reset to default on the first load
Multiple items play nice — two clothing items using the same plugin no longer break each other
Cleaner logs — no more walls of red errors while loading
相比原版,这个版本做了这些优化:
你的预设优先——自己保存的预设不会再被 var 包里自带的覆盖
预设在别人电脑上也能用——打进 var 包的预设,其他用户加载不再出错
预设命名更聪明——按服装名命名的预设(如 "SkirtA.default")会被自动识别
场景加载更可靠——衣服插件不再"第一次加载偶尔失灵"或设置变回默认
多件衣服互不干扰——两件衣服用同一个插件时不再互相搞坏
日志更清爽——加载时不再刷屏红色报错