template.txt 479 B

123456789
  1. <!-- Begin Unity webgl app -->
  2. <link rel="stylesheet" href="{2}/style.css">
  3. <script src="{2}/UnityProgress.js"></script>
  4. <script src="{1}/{0}/Build/UnityLoader.js"></script>
  5. <script>
  6. var gameInstance = UnityLoader.instantiate("gameContainer", "{1}/{0}/Build/{0}.json", {{onProgress: UnityProgress}});
  7. </script>
  8. <div id="gameContainer" style="width: {3}px; height: {4}px; left: 50%; transform: translateX(-50%);"></div>
  9. <!-- End Unity webgl app -->