当前位置:网站首页>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 
边栏推荐
- Difference and the difference between array and array structure and linked list
- 差异与阵列和阵列结构和链表的区别
- #夏日挑战赛#数据库学霸笔记(下)~
- [leetcode]Search for a Range
- [paper reading | deep reading] graphsage:inductive representation learning on large graphs
- MySQL
- Ali yunyili: how does yunyuansheng solve the problem of reducing costs and improving efficiency?
- [C # notes] use file stream to copy files
- Untiy文本框的代码换行问题
- Processus général de requête pour PostgreSQL
猜你喜欢

postgresql之整体查询大致过程

Tiflash source code reading (IV) design and implementation analysis of tiflash DDL module

Cloud Mail .NET Edition

Web3对法律的需求

Detailed explanation of line segment tree (including tested code implementation)

普通测试年薪15w,测试开发年薪30w+,二者差距在哪?

6-6 vulnerability exploitation SSH security defense

This week's hot open source project!

3D laser slam: time synchronization of livox lidar hardware
![[paper reading | deep reading] anrl: attributed network representation learning via deep neural networks](/img/06/17acf9958228cce5d80ada3275ad24.png)
[paper reading | deep reading] anrl: attributed network representation learning via deep neural networks
随机推荐
遇到慢SQL该怎么办?(下)
6-6 vulnerability exploitation SSH security defense
leetcode:736. LISP syntax parsing [flowery + stack + status enumaotu + slots]
Rethinking of investment
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
Real project, realized by wechat applet opening code (end)
实施MES管理系统时,哪些管理点是需要注意的
argo workflows源码解析
数论 --- 快速幂、快速幂求逆元
[paper reading | deep reading] graphsage:inductive representation learning on large graphs
本周 火火火火 的开源项目!
unity 自定义webgl打包模板
ODBC database connection of MFC windows programming [147] (with source code)
MySQL --- 常用函数 - 字符串函数
真实项目,用微信小程序开门编码实现(完结)
fiddler的使用
电气工程及其自动化
Lombok同时使⽤@Data和@Builder 的坑
MATLB|具有储能的经济调度及机会约束和鲁棒优化
How do I dump SoapClient requests for debugging- How to dump SoapClient request for debug?