mirror of
				https://github.com/unanmed/HumanBreak.git
				synced 2025-10-31 12:12:58 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # @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');
 | |
| ```
 |