init: 2.B

This commit is contained in:
AncTe committed 2026-02-28 20:23:34 +08:00
commit 6bf32174d8
610 files changed
+151444

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# @motajs/system
包含两个模块:
- [`@motajs/system-action`](../motajs-system-action/index.md)
- [`@motajs/system-ui`](../motajs-system-ui/index.md)
## 引入示例
```ts
import { gameKey, UIController } from '@motajs/system';
gameKey.register(...);
const myController = new UIController('my-controller');
```
等效于:
```ts
import { gameKey } from '@motajs/system-action';
import { UIController } from '@motajs/system-ui';
gameKey.register(...);
const myController = new UIController('my-controller');
```