大约有 15 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0022 秒)
...odel_MeshSample例子运行不起来 class StaticModel_MeshSample { constructor() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var...
来源: Laya_社区 发布时间: 20161201
...不会遇到这样问题。 然后再在 Main.ts 里面 class main 的 constructor 函数内末尾 加几句不痛不痒的如下的内容,再导出微信小游戏,就会报上面的错 if (Laya.Browser.onWeiXin) { //微信内 ...
来源: Laya_社区 发布时间: 20190319
...on/", 运行报错 gameContext?id=1:58 libs/laya.ui.js: TypeError: Class constructor Component cannot be invoked without 'new' at new Widget (laya.ui.js:201) at laya.ui.js:349 at laya.ui.js:1 at wrapFn (gameContext?id=1:51) at require (VM505 WAGameSubContext.js:2) at a (VM505 WAGameSubContext.js:2...
来源: Laya_社区 发布时间: 20210716
...似问题。class GameLayer extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.r...
来源: Laya_社区 发布时间: 20180720
...Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/powerup-pro.skel"; this.index = -1; // Laya.init(Browser.width, Browser.height, WebGL); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; ...
来源: Laya_社区 发布时间: 20211013