大约有 13 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0020 秒)
... //注册Script或者Runtime引用 let reg = Laya.ClassUtils.regClass; reg("script/GameMain.js",GameMain); } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode ="fixedwidth"; GameConfig.screenMode = "none";...
来源: Laya_社区 发布时间: 20201110
...son:boolean=false; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("game/ImageRunTime.ts",ImageRunTime); } } GameConfig.init(); 2018-10-15 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://ldc2.layabox.com/doc/?nav=zh-as-2-4-1 照着文档,很快就...
来源: Laya_社区 发布时间: 20181014
...Json:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/GameUI.ts",GameUI); reg("script/GameControl.ts",GameControl); reg("script/Bullet.ts",Bullet); reg("script/DropBox.ts",DropBox); } } GameConfig.init();编译之后变成:/* * 游戏初始化...
来源: Laya_社区 发布时间: 20181001