当前位置:网站首页>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
边栏推荐
- 【论文阅读|深读】RolNE: Improving the Quality of Network Embedding with Structural Role Proximity
- postgresql之integerset
- Leetcode:minimum_depth_of_binary_tree解决问题的方法
- Lumion 11.0软件安装包下载及安装教程
- The empirical asset pricing package (EAP) can be installed through pypi
- MySQL
- 阿里云易立:云原生如何破解企业降本提效难题?
- AWS学习笔记(一)
- leetcode:5. 最长回文子串【dp + 抓着超时的尾巴】
- 软件测试——Jmeter接口测试之常用断言
猜你喜欢
Draco - gltf model compression tool
KYSL 海康摄像头 8247 h9 isapi测试
1 -- Xintang nuc980 nuc980 porting uboot, starting from external mx25l
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files
如何从0到1构建32Core树莓派集群
15million employees are easy to manage, and the cloud native database gaussdb makes HR office more efficient
C#/VB. Net to delete watermarks in word documents
C#/VB.NET 删除Word文档中的水印
This week's hot open source project!
[paper reading | deep reading] graphsage:inductive representation learning on large graphs
随机推荐
MySQL
安德鲁斯—-多媒体编程
Real project, realized by wechat applet opening code (end)
Processus général de requête pour PostgreSQL
leetcode:5. Longest palindrome substring [DP + holding the tail of timeout]
Chang'an chain learning notes - certificate model of certificate research
Apifox,你的API接口文档卷成这样了吗?
leetcode:5. 最长回文子串【dp + 抓着超时的尾巴】
1个月增长900w+播放!总结B站顶流恰饭的2个新趋势
[leetcode]Search for a Range
Cloud Mail .NET Edition
Increase 900w+ playback in 1 month! Summarize 2 new trends of top flow qiafan in station B
纽约大学 CITIES 研究中心招聘理学硕士和博士后
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
go swagger使用
[Mori city] random talk on GIS data (II)
The boss is quarantined
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files
C # / vb. Net supprime le filigrane d'un document word
C#/VB. Net to delete watermarks in word documents