| 123456789101112131415 |
- // declare global variable "GlobalData"
- // Global存储全局控制句柄
- window.GlobalData = {
- // types
- GameManager: null,
- // singletons,GameStates.js
- game: null,
- // singletons,GameMode.js
- gameMode: null,
- spawnManager: null,
- //地图
- levelManager:null,
- //当前sdk的脚本
- currentSdk:null,
- };
|