# 創建用戶界面UI

由於 Hology Engine 在您的網頁瀏覽器中運行，它允許您使用現有的庫和工具，通過 Typescript、HTML 和 CSS 來創建用戶界面/UI。您可以使用任何現有的庫或框架，如 React、Vue、Angular 等等，而不必為 Hology Engine 使用特定的自定義工具。如果您已經有了首選的網頁應用開發技術棧，這可能是很棒的選擇。另一方面，如果您是網頁開發新手，不知道該選擇哪一個，在我們的官方教程我們有一個建議的 UI 開發技術棧，您可以參考它。

## 選擇 UI 框架

當您在 Hology Engine 啟動器中創建新項目時，您可以選擇一個 UI 框架。這將為您的項目設置特定的庫，幫助您開始創建。

* **React -** 一個單頁客戶端 React 應用程序。它還附帶 Preact Signals，以幫助在您的遊戲代碼（如角色和服務）與 UI React 組件之間進行狀態通信。
* **None/無 -** 一個單頁客戶端 TypeScript 應用程序。您可以將其作為起點，安裝您選擇的其他庫。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hology.app/zh-tw/user-interfaces/chuang-jian-yong-hu-jie-mian-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
