assetstore(asset store中文翻譯,asset store是什么意思,asset store發(fā)音、用法及例句)
- 內(nèi)容導(dǎo)航:
- 1、asset store
- 2、unity 打包之后 怎么動(dòng)態(tài)設(shè)置texture的參數(shù)
1、asset store
asset store發(fā)音
英: 美:
asset store中文意思翻譯
常見釋義:
資產(chǎn)倉庫
asset store雙語使用場(chǎng)景
1、You also subscribe to the Spanish policy group to execution of the resources that you use from the Spanish asset store.───您還可以訂閱西班牙語策略組,以執(zhí)行來自西班牙語資產(chǎn)鋪店的可用資源。
2、The locale specific JSPs used for content display are stored in the two asset stores, the Spanish Asset store and the English Asset store.───用于顯示內(nèi)容的區(qū)域特定的JSP存儲(chǔ)在兩個(gè)資產(chǎn)商店(西班牙語資產(chǎn)商店和英語資產(chǎn)商店)中。
3、A store serving the Department of Transportation may derive some common base contracts for government customers from the asset store.───服務(wù)于運(yùn)輸部門的存儲(chǔ)可以從資產(chǎn)存儲(chǔ)中獲得一些政府客戶通用的基本合約。
4、This article introduces the concepts of asset store and store path, which allow for sharing data among different sites.───本文引入了資產(chǎn)存儲(chǔ)及存儲(chǔ)路徑的概念,使得可以共享不同站點(diǎn)中的數(shù)據(jù)。
5、The two extended sites do not contain any catalog data, but instead they set their store path to point at the catalog asset store.───兩個(gè)擴(kuò)展的站點(diǎn)不包含任何目錄數(shù)據(jù),但是它們?cè)O(shè)置它們的存儲(chǔ)路徑來指向目錄資產(chǎn)存儲(chǔ)。
6、The customer-facing store only needs to define a "catalog" store relationship to the catalog asset store to share its resources.───面向客戶的商店只需定義與目錄資產(chǎn)商店的“目錄”商店關(guān)系,就可以共享其資源。
asset store相似詞語短語
1、variety store───雜貨店
2、assentor───n.同意者;贊成者
3、variety stores───雜貨店
4、assertors───n.主張者;斷言者;維護(hù)者
5、assentator───定居者
6、assertor───n.主張者;斷言者;維護(hù)者
7、assentors───n.同意者;贊成者
8、assentators───資產(chǎn)者
9、outlet store───工廠直銷店;代銷店
2、unity 打包之后 怎么動(dòng)態(tài)設(shè)置texture的參數(shù)
在用UGUI時(shí),我們也需要將一個(gè)個(gè)小圖打包成圖集,以減小Drawcall(類似coco2d-x一樣,打包成圖集一次性加載以內(nèi)存換取圖片讀取效率),UGUI打包并使用圖集有兩種方法:一種是使用系統(tǒng)自帶的打包工具SpritePacker;一種是使用TexturePacker打包圖片并使用;
關(guān)于第一種方法可以參見另一文章,里面有詳細(xì)的解釋與示例使用(文章鏈接:http://www.xuanyusong.com/archives/3304),這種方法限制比較多,轉(zhuǎn)而用另一種熟悉的方法用TexturePacker工具打包,也是本文下面要講解的
正文
本文所使用的是Unity3d 5.4版本,TexturePacker 4.2.3版本
1,先用TexturePacker打小圖打包成我們所需要的圖集,打包的格式要注意是"Unity - Texture2D sprite sheet"(有一些低版本的TP是沒有這個(gè)格式的),
打包之后會(huì)有一個(gè).png和一個(gè).tpsheet,不用作其他修改,將這兩個(gè)文件放在工程資源中,這時(shí)從工程看這只是一張大圖,并不能算是一個(gè)圖集,使用里面的小圖(這時(shí)雖然可以用unity3d自帶功能,手動(dòng)對(duì)圖片進(jìn)行裁剪,但裁剪的小圖大小基本是不對(duì)的)
2,接下來需要下載并導(dǎo)入一個(gè)Unity3d的插件,TexturePacker自己出的的一個(gè)插件(TexturePacker Importer),插件鏈接https://www.assetstore.unity3d.com/en/#!/content/16641,下載并成功導(dǎo)入之后,不用寫任何代碼,作任何操作,插件會(huì)自己根據(jù).tpsheet,將剛才打包好放進(jìn)入工程的大圖自動(dòng)裁剪成小圖,如下圖,打圖集點(diǎn)開
我們只需像使用單獨(dú)小圖一樣,將圖集里的小圖拖進(jìn)Source Image里即可。這時(shí)我們還只能在編輯器里設(shè)置使用圖集。
3,我們還需要在程序中 動(dòng)態(tài)加載圖集并使用圖集里的小圖,才算是完整的。unity3d 并沒有明確api說明我們?nèi)绾斡眠@種圖集,而常用Resources.Load()加載只能返回單獨(dú)的一個(gè)圖片紋理,所以我們用另一個(gè)方法 Resources.LoadAll();加載整一張圖集,此方法會(huì)返回一個(gè)Obj
本站其他內(nèi)容推薦
1、gesture harem katydid behalf enough pacemaker writ serape archery cleanser
2、mymusicsheet(my music sheets中文翻譯,my music sheets是什么意思,my music sheets發(fā)音、用法及例句)
3、inflection points中文翻譯,inflection points是什么意思,inflection points發(fā)音、用法及例句
4、cackle中文翻譯,cackle是什么意思,cackle發(fā)音、用法及例句
5、do you love me翻譯(do you love me中文翻譯,do you love me是什么意思,do you love me發(fā)音、用法及例句)
6、匹馬一麾的意思,匹馬一麾成語解釋,匹馬一麾是什么意思含義寓意
7、趵[ bào bō ],趵字的拼音,部首,意思,組詞,趵字的筆順,筆畫順序怎么寫
9、木馬的英文,英語,cockhorse是什么意思,cockhorse中文翻譯,cockhorse怎么讀、發(fā)音、用法及例句
10、oligist是什么意思,oligist中文翻譯,oligist怎么讀、發(fā)音、用法及例句
11、大獎(jiǎng)?wù)碌挠⑽?,英語,medallions是什么意思,medallions中文翻譯,medallions怎么讀、發(fā)音、用法及例句
版權(quán)聲明: 本站僅提供信息存儲(chǔ)空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問題需要同本網(wǎng)聯(lián)系的,請(qǐng)發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。