我希望使用Unity WebGL制作一个Angular模块。事实上,在这个主题上没有做过任何事情,今天也没有任何模块。 但是,我很少迷路,我需要帮助。如果该模块将发展为Angular 2,那将是一件好事。但到目前为止,我知道Angular 1。
Unity 3D导出给出了:
<!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 | Test Unity</title>
<style>
/* a style sheet needs to be present for cursor hiding and custom cursors to work. */
</style>
</head>
<body>
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" height="600px" width="960px"></canvas>
<script type='text/javascript'>
var Module = {
TOTAL_MEMORY: 268435456,
errorhandler: null, // arguments: err, url, line. This function must return 'true' if the error is handled, otherwise 'false'
compatibilitycheck: null,
dataUrl: "Development/ExportMiniDev.data",
codeUrl: "Development/ExportMiniDev.js",
memUrl: "Development/ExportMiniDev.mem",
};
</script>
</body>
</html>
您能否请我提供一些事情。我已经花了很多时间在这上面。如果我成功,我将在Github上发布该模块。
答案 0 :(得分:0)