当前位置:网站首页>Unity custom webgl packaging template
Unity custom webgl packaging template
2022-07-07 02:35:00 【Wu Zimu】
about webgl project , We often need to modify index.html Contents of Li , But every time you pack , Will overwrite the last content , If you want to save an extra copy every time index.html perhaps css Replace the contents of the file with the packaged contents , Will waste a lot of time , Fortunately Untiy Allow us to customize the packaged template
We need to be in Assets Create a folder named WebGLTemplates, This is used to store all templates , And then in WebGLTemplates Next, create a folder , The name is the name of our template , Then put our template resources in this file , for example
here , We created a TestTemplates The template of
It contains the template resources we need and Index.html file
Be careful : If you use your own modified untiy Packaging template provided , Be sure to put out the bag TemplateData Put it in your Custom Templates folder , As shown in my picture
After setting up the template , stay ProjectSettings/Player Inside h5/Resolution and Presentation Choose to use our custom template
边栏推荐
- 1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l
- CSDN 夏令营课程 项目分析
- [xlua notes] array of lua to array of C #
- Rethinking of investment
- MySQL
- Stm32f4 --- PWM output
- Station B's June ranking list - feigua data up main growth ranking list (BiliBili platform) is released!
- 电气工程及其自动化
- unity webgl自适应网页尺寸
- Infrared camera: juge infrared mag32 product introduction
猜你喜欢
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
数字滚动增加效果
Google Earth Engine(GEE)——Landsat 全球土地调查 1975年数据集
argo workflows源码解析
运维管理系统有哪些特色
C#/VB. Net to delete watermarks in word documents
Integerset of PostgreSQL
Apifox,你的API接口文档卷成这样了吗?
unity 自定义webgl打包模板
猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
随机推荐
Decryption function calculates "task state and lifecycle management" of asynchronous task capability
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
MetaForce原力元宇宙佛萨奇2.0智能合约系统开发(源码部署)
Cloud Mail .NET Edition
How do I dump SoapClient requests for debugging- How to dump SoapClient request for debug?
leetcode:736. LISP syntax parsing [flowery + stack + status enumaotu + slots]
C # / vb. Net supprime le filigrane d'un document word
Apifox, is your API interface document rolled up like this?
阿里云易立:云原生如何破解企业降本提效难题?
4 -- Xintang nuc980 mount initramfs NFS file system
postgresql 之 数据目录内部结构 简介
记一次JAP查询导致OOM的问题分析
Argo workflows source code analysis
This week's hot open source project!
The last line of defense of cloud primary mixing department: node waterline design
CDB PDB 用户权限管理
投资的再思考
导数、偏导数、方向导数
GEE升级,可以实现一件run tasks
Pgadmin4 of PostgreSQL graphical interface tool