mirror of
https://github.com/motajs/template.git
synced 2026-04-12 15:11:10 +08:00
529 B
529 B
@motajs/system
包含两个模块:
引入示例
import { gameKey, UIController } from '@motajs/system';
gameKey.register(...);
const myController = new UIController('my-controller');
等效于:
import { gameKey } from '@motajs/system-action';
import { UIController } from '@motajs/system-ui';
gameKey.register(...);
const myController = new UIController('my-controller');