1
1
<!doctype html>
2
2
< html lang ="zh-CN ">
3
- < head >
4
- < meta charset ="UTF-8 " />
5
- < meta http-equiv ="X-UA-Compatible " content ="ie=edge,chrome=1 " />
6
- < meta name ="renderer " content ="webkit " />
7
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < meta name ="format-detection " content ="telphone=no " />
9
- < title > < title > unity-webgl demo</ title > </ title >
10
- < meta name ="description " content ="" />
11
- < meta name ="keywords " content ="" />
12
- </ head >
13
- < body >
14
- < div >
15
- < canvas id ="canvas " style ="width: 800px; height: 600px "> </ canvas >
16
3
17
- < div >
18
- < button onclick ="sendMessage() "> postMessage</ button >
19
- < button onclick ="onFullscreen() "> Fullscreen</ button >
20
- </ div >
4
+ < head >
5
+ < meta charset ="UTF-8 " />
6
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge,chrome=1 " />
7
+ < meta name ="renderer " content ="webkit " />
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
9
+ < meta name ="format-detection " content ="telphone=no " />
10
+ < title > unity-webgl demo</ title >
11
+ < meta name ="description " content ="" />
12
+ < meta name ="keywords " content ="" />
13
+ </ head >
14
+
15
+ < body >
16
+ < div >
17
+ < canvas id ="canvas " style ="width: 800px; height: 600px "> </ canvas >
18
+
19
+ < div >
20
+ < button onclick ="sendMessage() "> postMessage</ button >
21
+ < button onclick ="onFullscreen() "> Fullscreen</ button >
21
22
</ div >
22
- </ body >
23
- < script src ="main.js " type ="module "> </ script >
24
- </ html >
23
+ </ div >
24
+ </ body >
25
+ < script src ="main.js " type ="module "> </ script >
26
+
27
+ </ html >
0 commit comments