当前位置:网站首页>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
边栏推荐
- Leetcode:minimum_depth_of_binary_tree解决问题的方法
- [Mori city] random talk on GIS data (II)
- The cities research center of New York University recruits master of science and postdoctoral students
- leetcode:736. LISP syntax parsing [flowery + stack + status enumaotu + slots]
- 安全巡检的工作
- CSDN 夏令营课程 项目分析
- Lombok同时使⽤@Data和@Builder 的坑
- [leetcode]Search for a Range
- 服装企业部署MES管理系统的五个原因
- postgresql之integerset
猜你喜欢
【论文阅读|深读】RolNE: Improving the Quality of Network Embedding with Structural Role Proximity
fiddler的使用
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
Lumion 11.0软件安装包下载及安装教程
[paper reading | deep reading] graphsage:inductive representation learning on large graphs
FLIR blackfly s usb3 industrial camera: how to use counters and timers
Summer Challenge database Xueba notes (Part 2)~
[paper reading | deep reading] anrl: attributed network representation learning via deep neural networks
MES管理系统的应用和好处有哪些
Recommended collection!! Which is the best flutter status management plug-in? Please look at the ranking list of yard farmers on the island!
随机推荐
Application analysis of face recognition
This week's hot open source project!
Alibaba cloud middleware open source past
安全巡检的工作
Processus général de requête pour PostgreSQL
Compress JS code with terser
STM32项目 -- 选题分享(部分)
GEE升级,可以实现一件run tasks
postgresql 之 数据目录内部结构 简介
The boss is quarantined
[server data recovery] data recovery case of a Dell server crash caused by raid damage
6-6 vulnerability exploitation SSH security defense
pgpool-II和pgpoolAdmin的使用
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
进程管理基础
KYSL 海康摄像头 8247 h9 isapi测试
【论文阅读|深读】 GraphSAGE:Inductive Representation Learning on Large Graphs
纽约大学 CITIES 研究中心招聘理学硕士和博士后
压缩 js 代码就用 terser
#夏日挑战赛#数据库学霸笔记(下)~