mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-18 17:48:52 +08:00
494 B
494 B
@motajs/system
包含两个模块:
引入示例
import { Action, UI } from '@motajs/system';
Action.gameKey.register(...);
const myController = new UI.UIController('my-controller');
等效于:
import { gameKey } from '@motajs/system-action';
import { UIController } from '@motajs/system-ui';
gameKey.register(...);
const myController = new UIController('my-controller');