# res_clean **Repository Path**: sarsgame/res_clean ## Basic Information - **Project Name**: res_clean - **Description**: 清理资源使用的脚本工具,目前测试过的是cocos2.4.8 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-26 - **Last Updated**: 2024-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 原理 1. 搜索所有需要删除的资源 保存在allResMap中 2. 检索所有的.prefab和.fire 将使用的资源的isUse设置为true 3. meta数据中的subMetas中的uuid如果使用了,那么它的父资源的isUse也要设置为true。 4. 需要处理spine和龙骨资源 (未实现)