html WebGLテンプレート用のindex.htmlのサンプルhttp://negi-lab.blog.jp/WebGLTemplates

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html WebGLテンプレート用のindex.htmlのサンプルhttp://negi-lab.blog.jp/WebGLTemplates相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Unity WebGL Player | %UNITY_WEB_NAME%</title>
    <link rel="shortcut icon" href="TemplateData/favicon.ico">
    <link rel="stylesheet" href="TemplateData/style.css">
    <script src="%UNITY_WEBGL_LOADER_URL%"></script>
    <script> var gameInstance = UnityLoader.instantiate("gameContainer", "%UNITY_WEBGL_BUILD_URL%");</script>

  </head>
  <body>
    <div class="webgl-content">
      <!-- <div id="gameContainer" style="width: 960px; height: 600px"></div> -->
      <div id="gameContainer"></div>
      <div class="footer">
        <div class="webgl-logo"></div>
        <div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
        <div class="title">%UNITY_WEB_NAME%</div>
      </div>
    </div>
  </body>
</html>

以上是关于html WebGLテンプレート用のindex.htmlのサンプルhttp://negi-lab.blog.jp/WebGLTemplates的主要内容,如果未能解决你的问题,请参考以下文章

html プライバシー·ポリシーのテンプレ

html 引导の导航栏テンプレート

html 网络ページを作成时のベースとなるテンプレート

php テンプレート

text VuePressコンポーネントテンプレ

json Firebase Cloud Funtionsテンプレート