当前位置:网站首页>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
边栏推荐
- Web3's need for law
- MATLB|具有储能的经济调度及机会约束和鲁棒优化
- What to do when encountering slow SQL? (next)
- 3D laser slam: time synchronization of livox lidar hardware
- Stm32f4 --- PWM output
- Why am I warned that the 'CMAKE_ TOOLCHAIN_ FILE' variable is not used by the project?
- Introduction to FLIR blackfly s industrial camera
- pgpool-II和pgpoolAdmin的使用
- New generation cloud native message queue (I)
- 数字滚动增加效果
猜你喜欢
Lumion 11.0软件安装包下载及安装教程
Stm32f4 --- PWM output
Google Earth Engine(GEE)——Landsat 全球土地调查 1975年数据集
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
Web3对法律的需求
leetcode:5. 最长回文子串【dp + 抓着超时的尾巴】
Compress JS code with terser
FLIR blackfly s usb3 industrial camera: how to use counters and timers
软件测试——Jmeter接口测试之常用断言
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
随机推荐
猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
实施MES管理系统时,哪些管理点是需要注意的
MySQL
Linear list --- circular linked list
1个月增长900w+播放!总结B站顶流恰饭的2个新趋势
[C # notes] use file stream to copy files
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
用全连接+softmax对图片的feature进行分类
FLIR blackfly s usb3 industrial camera: how to use counters and timers
服装企业部署MES管理系统的五个原因
本周 火火火火 的开源项目!
Stm32f4 --- PWM output
Infrared camera: juge infrared mag32 product introduction
Web3的先锋兵:虚拟人
运维管理系统有哪些特色
STM32项目 -- 选题分享(部分)
4 -- Xintang nuc980 mount initramfs NFS file system
Introduction to FLIR blackfly s industrial camera
leetcode:736. Lisp 语法解析【花里胡哨 + 栈 + 状态enumaotu + slots】
MySQL