如何使用 unity 插件从 air-console 包含 .js 和 .css 文件?

How to Include .js and .css file from air-console with unity plugin?

我们正在尝试使用 Unity 插件创建一个空中控制台游戏。但是,.html 包含了 .css 和 .js。我怎样才能把它们分开?

我们试图通过添加此行和 This how my unity file directory appears 将样式移动到 .css 文件和 link 到 .html 文件。

<link rel="stylesheet" type="text/css" href="controller.css">

创建单独的 .css 文件会产生错误:: 加载资源失败:服务器响应状态为 404(未找到)This is the error we are getting。

我们如何将 .css 文件包含到 unity 插件中而不 运行 出错?

确保 css 文件位于文件夹 WebGLTemplates/AirConsole 中。