assetstore(asset store中文翻译、 是什么意思、发音、用法

日期: 栏目:知识类 浏览:

  内容导航:

  1、

  asset store

  2、

  unity 打包之后 怎么动态设置texture的参数

  1、

  asset store

  英:

  美:

  常见释义:

  资产仓库

  1、You also subscribe to the Spanish policy group to execution of the resources that you use from the Spanish

  asset store

  .───您还可以订阅西班牙语策略组,以执行来自西班牙语资产铺店的可用资源。

  2、The locale specific JSPs used for content display are stored in the two

  asset store

  s, the Spanish Asset store and the English Asset store.───用于显示内容的区域特定的JSP存储在两个资产商店(西班牙语资产商店和英语资产商店)中。

  3、A store serving the Department of Transportation may derive some common base contracts for government customers from the

  asset store

  .───服务于运输部门的存储可以从资产存储中获得一些政府客户通用的基本合约。

  4、This article introduces the concepts of

  asset store

  and store path, which allow for sharing data among different sites.───本文引入了资产存储及存储路径的概念,使得可以共享不同站点中的数据。

  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

  .───两个扩展的站点不包含任何目录数据,但是它们设置它们的存储路径来指向目录资产存储。

  6、The customer-facing store only needs to define a "catalog" store relationship to the catalog

  asset store

  to share its resources.───面向客户的商店只需定义与目录资产商店的“目录”商店关系,就可以共享其资源。

  1、variety store───杂货店

  2、assentor───n.同意者;赞成者

  3、variety stores───杂货店

  4、assertors───n.主张者;断言者;维护者

  5、assentator───定居者

  6、assertor───n.主张者;断言者;维护者

  7、assentors───n.同意者;赞成者

  8、assentators───资产者

  9、outlet store───工厂直销店;代销店

  2、

  unity 打包之后 怎么动态设置texture的参数

  在用UGUI时,我们也需要将一个个小图打包成图集,以减小Drawcall(类似coco2d-x一样,打包成图集一次性加载以内存换取图片读取效率),UGUI打包并使用图集有两种方法:一种是使用系统自带的打包工具SpritePacker;一种是使用TexturePacker打包图片并使用;

  关于第一种方法可以参见另一文章,里面有详细的解释与示例使用(文章链接:http://www.xuanyusong.com/archives/3304),这种方法限制比较多,转而用另一种熟悉的方法用TexturePacker工具打包,也是本文下面要讲解的

  正文

  本文所使用的是Unity3d 5.4版本,TexturePacker 4.2.3版本

  1,先用TexturePacker打小图打包成我们所需要的图集,打包的格式要注意是"Unity - Texture2D sprite sheet"(有一些低版本的TP是没有这个格式的),

  打包之后会有一个.png和一个.tpsheet,不用作其他修改,将这两个文件放在工程资源中,这时从工程看这只是一张大图,并不能算是一个图集,使用里面的小图(这时虽然可以用unity3d自带功能,手动对图片进行裁剪,但裁剪的小图大小基本是不对的)

  2,接下来需要下载并导入一个Unity3d的插件,TexturePacker自己出的的一个插件(TexturePacker Importer),插件链接https://www.assetstore.unity3d.com/en/#!/content/16641,下载并成功导入之后,不用写任何代码,作任何操作,插件会自己根据.tpsheet,将刚才打包好放进入工程的大图自动裁剪成小图,如下图,打图集点开

  我们只需像使用单独小图一样,将图集里的小图拖进Source Image里即可。这时我们还只能在编辑器里设置使用图集。

  3,我们还需要在程序中 动态加载图集并使用图集里的小图,才算是完整的。unity3d 并没有明确api说明我们如何用这种图集,而常用Resources.Load()加载只能返回单独的一个图片纹理,所以我们用另一个方法 Resources.LoadAll();加载整一张图集,此方法会返回一个Obj

标签: