位置: 编程技术 - 正文

Protecting Content With AssetBundle[Unity]

编辑:rootadmin

推荐整理分享Protecting Content With AssetBundle[Unity],希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

Whilst it is possible to use encryption to secure your Assets as they are being transmitted, once the data is in the hands of the client it is possible to find ways to grab the content from them. For instance, there are tools out there which can record 3D data at the driver level, allowing users to extract models and textures as they are sent to the GPU. For this reason, our general stance is that if users are determined to extract your assets, they will be able to.

However, it is possible for you to use your own data encryption on AssetBundle files if you still want to.

Protecting Content With AssetBundle[Unity]

One way to do this is making use of the TextAsset type to store your data as bytes. You can encrypt your data files and save them with a .bytes extension, which Unity will treat as a TextAsset type. Once imported in the Editor the files as TextAssets can be included in your AssetBundle to be placed in a server. In the client side the AssetBundle would be downloaded and the content decrypted from the bytes stored in the TextAsset. With this method the AssetBundles are not encrypted, but the data stored which is stored as TextAssets is.

An alternative approach is to fully encrypt the AssetBundles from source and then download them using the WWW class. You can give them whatever file extension you like as long as your server serves them up as binary data. Once downloaded you would then use your decryption routine on the data from the .bytes property of your WWW instance to get the decrypted AssetBundle file data and create the AssetBundle from memory using AssetBundle.CreateFromMemory.

The advantage of this latter approach over the first one is that you can use any method (except AssetBundles.LoadFromCacheOrDownload) to transmit your bytes and the data is fully encrypted - for example sockets in a plugin. The drawback is that it won’t be Cached using Unity’s automatic caching. You can in all players except the WebPlayer store the file manually on disk and load it using AssetBundles.CreateFromFile

A third approach would combine the best of both approaches and store an AssetBundle itself as a TextAsset, inside another normal AssetBundles. The unencrypted AssetBundle containing the encrypted one would be cached. The original AssetBundle could then be loaded into memory, decrypted and instantiated usingAssetBundle.CreateFromMemory.

Unity3D图像后处理特效——Fisheye image effect

unity学习之增删查改 unity学习,希望我的博客能给正在学习unity的朋友们带来帮助今天我们来学习在vs中对数据库中的数据进行增删查改,直接来看代码吧封装,方便方法的

慎用 NavMeshObstacle.Carve 在Bake场景的时候,Navigation窗口的Bake页面有一个高度,场景中的导航网通常作为一个平面,当NavMeshObstacle距离小于这个高度时,才会在导航网上挖洞,

标签: Protecting Content With AssetBundle[Unity]

本文链接地址:https://www.jiuchutong.com/biancheng/377293.html 转载请保留说明!

上一篇:Unity3D之Vector3.Dot和Vector3.Cross的使用

下一篇:Unity3D图像后处理特效——Fisheye image effect(unity2d图片调后一层)

  • 增值税加计抵减是什么意思
  • 网络课程购买
  • 财务报表没申报以后可不可以补申报
  • 代扣代缴增值税纳税义务发生时间
  • 金税四期什么时候执行
  • 商贸企业产值含税吗
  • 纳税总额和实际上缴税费总额
  • 合并会计报表编制讲解视频
  • 服务免税销售额
  • 所税税汇算补交上一年度税金如何做账务处理?
  • 营改增后房地产企业增值税税率
  • 事业单位跨期发票的财务入账问题
  • 分支机构的企业所得税申报流程是什么
  • 防伪开票系统税票如何抵扣
  • 小规模纳税人可以享受小微企业吗
  • 汽车行业销售折让
  • 小型微利企业普惠性减税政策
  • 技术咨询增值税税率
  • 高新技术企业的税收优惠政策
  • 鸿蒙系统网络差怎么解决
  • 安装win7系统的硬件要求
  • windows11激活密钥多少钱
  • wind10画图在哪
  • zmweb.exe是什么进程
  • 赠与房屋再次出售税费
  • 税控系统维护费抵扣申报表怎么填
  • php解压压缩包
  • 商业汇票转让后,能否追索前手
  • vue element ui教程
  • 微前端Qiankun
  • 特定业务计算的应纳税所得额是指
  • 一维频率分布表
  • pdclient
  • 损益表填制
  • 社会团体会费票据查询
  • 税控盘有什么用途和作用
  • 工业企业增值税税负多少合理
  • mysql如何分类
  • 没有以前年度损益科目应该加在什么地方
  • 转租行为的税务处理方法
  • 税控盘和维护费440元抵减增值税吗
  • 期末余额就是本年累计吗
  • 房屋租赁不开发票需要交税吗
  • 建筑安装业,指从事____的企业
  • 购买员工福利品会计分录
  • 暂估入库有时间限制吗
  • 取得无形资产发生的相关费用
  • 会计事务所给的发票
  • 工会经费是不是税费
  • 公司提供给员工暂借款未还款离职
  • 车辆购置税能抵扣企业所得税吗
  • sql语句错误提示
  • 正确使用显微镜的七个步骤
  • sql server的数据库
  • centos中如何安装软件
  • win10相机模糊
  • Ubuntu系统安装软件
  • mac使用ios
  • window8系统好用吗
  • win10系统宽带连接错误解决方法
  • linux哪些方法可以查看命令的详细信息
  • unity3d跨平台
  • nodejs内置的包管理器
  • 安卓deprecated
  • android 多线程并发
  • html概念及作用
  • js怎么理解
  • js操作对象的方法
  • js clearInterval()方法的定义和用法
  • javascript教程
  • jquery实现点击按钮
  • js继承的方式
  • pythonfor else
  • 胰腺在人体的哪个部位图解
  • 税务协查函回复的内容有哪些
  • 在企业内部具有行使否决权的是
  • 就业失业登记证网上申请
  • 北京市朝阳区地图
  • 河北公示信息网
  • 广州天河东路税务局地址
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设