Addressable 是本文編寫時 Unity 新的資料管理工具系統,它把我們會用到的 Asset 都打包起來,然後在遊戲中需要 Asset 時,再統一去跟 Addressable 要。
專案有個需求是因為美術的模型會有上百上千個,希望主程式出去後,只要下載需要的獨立資料 .catalog及 .bundle 就好。
這次我們會把模型的 mesh 及 texture 分開打包,最後會得到四個檔案,用這四個檔案代表一個模型。
- mesh.bundle
- mesh.catalog
- texture.bundle
- texture.catalog