* 转换为输出文件 * @returns {Promise }
()
| 647 | if (obj.__uuid__ && typeof obj.__uuid__ === 'string' && obj.__uuid__.length === 22) { |
| 648 | obj.__uuid__ = uuidUtils.decodeUuid(obj.__uuid__); |
| 649 | } |
| 650 | // SpriteFrame content.texture often stores compact uuid as plain string |
| 651 | if (obj.content && typeof obj.content === 'object' && typeof obj.content.texture === 'string') { |
| 652 | const t = obj.content.texture; |
| 653 | if (t.length === 22) { |
| 654 | obj.content.texture = uuidUtils.decodeUuid(t) || t; |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | for (const key in obj) { |
| 659 | if (typeof obj[key] === 'object' && obj[key] !== null) { |
| 660 | walk(obj[key], seen); |
nothing calls this directly
no outgoing calls
no test coverage detected