<!DOCTYPE html>
<html lang="en-us">
<head>
<script type="text/javascript" src="./Native/unity-webgl-tools.js"></script>
<script type="text/javascript" src="./Native/microphone.js"></script>
<script type="text/javascript" src="./Native/unity-webgl-tools.js"></script>
<script type="text/javascript" src="./Native/microphone.js"></script>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | HoloMark</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
</head>
<body>
<div id="unity-container" class="unity-desktop">
<canvas id="unity-canvas" width=960 height=600></canvas>
<div id="unity-loading-bar">
<div id="unity-logo"></div>
<div id="unity-progress-bar-empty">
<div id="unity-progress-bar-full"></div>
</div>
</div>
<div id="unity-warning"> </div>
<div id="unity-footer">
<div id="unity-webgl-logo"></div>
<div id="unity-fullscreen-button"></div>
<div id="unity-build-title">HoloMark</div>
</div>
</div>
<script>
var container = document.querySelector("#unity-container");
var canvas = document.querySelector("#unity-canvas");
var loadingBar = document.querySelector("#unity-loading-bar");
var progressBarFull = document.querySelector("#unity-progress-bar-full");
var fullscreenButton = document.querySelector("#unity-fullscreen-button");
var warningBanner = document.querySelector("#unity-warning");
// Shows a temporary message banner/ribbon for a few seconds, or
// a permanent error message on top of the canvas if type=='error'.
// If type=='warning', a yellow highlight color is used.
// Modify or remove this function to customize the visually presented
// way that non-critical warnings and error messages are presented to the
// user.
function unityShowBanner(msg, type) {
function updateBannerVisibility() {
warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
}
var div = document.createElement('div');
div.innerHTML = msg;
warningBanner.appendChild(div);
if (type == 'error') div.style = 'background: red; padding: 10px;';
else {
if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
setTimeout(function() {
warningBanner.removeChild(div);
updateBannerVisibility();
}, 5000);
}
updateBannerVisibility();
}
var buildUrl = "Build";
var loaderUrl = buildUrl + "/WebGL2021.loader.js";
var config = {
dataUrl: buildUrl + "/WebGL2021.data.unityweb",
frameworkUrl: buildUrl + "/WebGL2021.framework.js.unityweb",
codeUrl: buildUrl + "/WebGL2021.wasm.unityweb",
streamingAssetsUrl: "StreamingAssets",
companyName: "SG",
productName: "HoloMark",
productVersion: "0.1",
showBanner: unityShowBanner,
};
// By default Unity keeps WebGL canvas render target size matched with
// the DOM size of the canvas element (scaled by window.devicePixelRatio)
// Set this to false if you want to decouple this synchronization from
// happening inside the engine, and you would instead like to size up
// the canvas DOM size and WebGL render target sizes yourself.
// config.matchWebGLToCanvasSize = false;
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
// Mobile device style: fill the whole browser client area with the game canvas:
var meta = document.createElement('meta');
meta.name = 'viewport';
meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
document.getElementsByTagName('head')[0].appendChild(meta);
container.className = "unity-mobile";
// To lower canvas resolution on mobile devices to gain some
// performance, uncomment the following line:
// config.devicePixelRatio = 1;
canvas.style.width = window.innerWidth + 'px';
canvas.style.height = window.innerHeight + 'px';
unityShowBanner('WebGL builds are not supported on mobile devices.');
} else {
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen:
canvas.style.width = "960px";
canvas.style.height = "600px";
}
loadingBar.style.display = "block";
var script = document.createElement("script");
script.src = loaderUrl;
script.onload = () => {
createUnityInstance(canvas, config, (progress) => {
progressBarFull.style.width = 100 * progress + "%";
}).then((unityInstance) => {
loadingBar.style.display = "none";
fullscreenButton.onclick = () => {
unityInstance.SetFullscreen(1);
};
}).catch((message) => {
alert(message);
});
};
document.body.appendChild(script);
</script>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
UnityChatSDK v8.3 各平台测试程序
共181个文件
dll:103个
psd1:15个
png:8个
需积分: 0 15 下载量 93 浏览量
2022-11-11
00:14:25
上传
评论
收藏 113.15MB ZIP 举报
温馨提示
https://github.com/ShanguUncle/UnityChatSDK
资源推荐
资源详情
资源评论
收起资源包目录
UnityChatSDK v8.3 各平台测试程序 (181个子文件)
RemoteMark.apk 19.12MB
RemoteMark8.3_1.0.0.0_ARM64.appx 39.15MB
Microsoft.VCLibs.ARM64.14.00.appx 1.46MB
Microsoft.VCLibs.x64.14.00.appx 837KB
Microsoft.VCLibs.ARM.14.00.appx 781KB
Microsoft.VCLibs.x86.14.00.appx 707KB
DefaultWsdlHelpGenerator.aspx 59KB
DefaultWsdlHelpGenerator.aspx 59KB
DefaultWsdlHelpGenerator.aspx 59KB
sharedassets0.assets 1.55MB
globalgamemanagers.assets 51KB
resources.assets 9KB
Compat.browser 2KB
Compat.browser 2KB
Compat.browser 2KB
RemoteMark8.3_1.0.0.0_ARM64.cer 720B
machine.config 33KB
machine.config 33KB
machine.config 28KB
web.config 18KB
web.config 18KB
web.config 11KB
config 3KB
boot.config 113B
style.css 1KB
UnityPlayer.dll 24.96MB
mono-2.0-bdwgc.dll 4.75MB
mscorlib.dll 3.88MB
System.Xml.dll 2.99MB
System.dll 2.59MB
System.Core.dll 1022KB
UnityEngine.CoreModule.dll 991KB
Microsoft.VisualStudio.Telemetry.dll 870KB
MonoPosixHelper.dll 762KB
UnityEngine.UIElementsModule.dll 714KB
turbojpeg.dll 600KB
Newtonsoft.Json.dll 514KB
Unity.TextMeshPro.dll 361KB
Google.Protobuf.dll 355KB
Mono.Security.dll 302KB
System.ComponentModel.Composition.dll 251KB
UnityEngine.UI.dll 222KB
Mono.Posix.dll 208KB
UnityEngine.TextCoreModule.dll 182KB
System.Security.dll 180KB
UnityEngine.IMGUIModule.dll 153KB
WebRtcProcess.dll 143KB
UnityEngine.AnimationModule.dll 143KB
UnityEngine.ParticleSystemModule.dll 132KB
System.Configuration.dll 122KB
Unity.Timeline.dll 107KB
UnityEngine.Physics2DModule.dll 104KB
UnityChatSDK.dll 88KB
UChatDesk.dll 87KB
UnityEngine.PhysicsModule.dll 85KB
UnityEngine.dll 84KB
UnityEngine.TerrainModule.dll 79KB
UnityEngine.UNETModule.dll 76KB
Assembly-CSharp.dll 74KB
UnityEngine.AndroidJNIModule.dll 63KB
UnityEngine.AudioModule.dll 57KB
UnityEngine.XRModule.dll 53KB
Microsoft.VisualStudio.RemoteControl.dll 45KB
UnityEngine.AIModule.dll 44KB
UnityEngine.UnityWebRequestModule.dll 43KB
UnityEngine.VFXModule.dll 38KB
Microsoft.VisualStudio.Utilities.Internal.dll 34KB
UnityEngine.VRModule.dll 34KB
UnityEngine.UnityAnalyticsModule.dll 32KB
ChatProto.dll 29KB
UnityEngine.VideoModule.dll 29KB
UnityEngine.TextRenderingModule.dll 27KB
UnityEngine.GameCenterModule.dll 27KB
UnityEngine.InputLegacyModule.dll 25KB
UnityEngine.TilemapModule.dll 25KB
UnityEngine.UIModule.dll 23KB
UnityEngine.AssetBundleModule.dll 22KB
UnityEngine.UnityWebRequestWWWModule.dll 20KB
UnityChat.dll 20KB
UnityEngine.SharedInternalsModule.dll 19KB
UnityEngine.DSPGraphModule.dll 18KB
UnityEngine.SubsystemsModule.dll 17KB
UnityWebSocket.Runtime.dll 16KB
UnityEngine.ClothModule.dll 15KB
UnityEngine.SpriteShapeModule.dll 14KB
UnityEngine.SubstanceModule.dll 14KB
UnityEngine.GridModule.dll 14KB
UnityEngine.DirectorModule.dll 13KB
UnityEngine.ImageConversionModule.dll 13KB
UnityEngine.VehiclesModule.dll 13KB
System.Runtime.dll 13KB
UnityEngine.ARModule.dll 13KB
UnityEngine.AccessibilityModule.dll 12KB
UnityEngine.InputModule.dll 12KB
ChatNetWork.dll 12KB
UnityEngine.UnityWebRequestAssetBundleModule.dll 12KB
UnityEngine.UnityWebRequestAudioModule.dll 11KB
UnityEngine.JSONSerializeModule.dll 11KB
UnityEngine.UnityWebRequestTextureModule.dll 11KB
UnityEngine.UnityConnectModule.dll 11KB
共 181 条
- 1
- 2
资源评论
山谷大叔
- 粉丝: 3698
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功