移动端测试
This commit is contained in:
BIN
Assets/WebGLTemplates/SelfTemplate_2021/TemplateData/bg.png
Normal file
BIN
Assets/WebGLTemplates/SelfTemplate_2021/TemplateData/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c86cb272934901b4aa3302dc8ed79a1b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,11 @@
|
||||
body { margin: 0;width: 100%;height: 100%; }
|
||||
html,canvas{width: 100%;height: 100%;}
|
||||
#unity-container { position: fixed;width: 100%;height: 100%;}
|
||||
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
|
||||
#unity-container.unity-mobile { width: 100%; height: 100% }
|
||||
#unity-canvas { background: #231F20 }
|
||||
.unity-mobile #unity-canvas { width: 100%; height: 100% }
|
||||
#unity-loading-bar { background:url('bg.png');background-repeat: no-repeat;background-size: cover; width:100%;height:100%;}
|
||||
#unity-footer { position: relative }
|
||||
.unity-mobile #unity-footer { display: none }
|
||||
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 627f1624f9a3f954fb7c10684ba69d0b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user