大约有 2,666 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2033) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(50)
...去加载分包和资源 ``` onConfigLoaded(): void { Laya.stage.on(Laya.Event.CLICK, this, this.toPage2) } toPage2(): void { my.redirectTo({ url: "/subpackage1/page2/index", success: function () { console.log("success") }, fail: function (err) { console.log("2222", err) } }) } ``` 注意:在加...
来源: Laya2.0_文档 发布时间: 20210715
...请问官方API中有反余弦的方法吗? layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 【BUG】升级了Laya2.0.2新版LayaAir.d.ts和js库API对不上!! 问题状态 最新活动: 2016-12-28 17:18 浏览: 3169 关注: 4 人 183*****755 • 2016-1...
来源: Laya_社区 发布时间: 20161215
...s.d.ts", "node_modules/@types/node/domain.d.ts", "node_modules/@types/node/events.d.ts", "node_modules/@types/node/fs.d.ts", "node_modules/@types/node/http.d.ts", "node_modules/@types/node/http2.d.ts", "node_modules/@types/node/https.d.ts", "node_modules/@types/node/module.d.ts", "node_modules/@type...
来源: Laya_社区 发布时间: 20190227
...= girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun) { //播放对应的动画 this._animator.play("idle"); } else { this._animator.play("run"); } this._isRun = !this._isRun; } } 二、刚体动画...
来源: Laya3.0_文档 发布时间: 20251010
...a.stage.height, "#0ef604"); guideContainer.addChild(maskArea); //EventManager.add(MyEvent.PLAYER_MOVE,this,playerMoveFun); playerMoveFun(); //EventManager.add(MyEvent.MYRESIZE,this,sizeHandler); sp=new Sprite(); sp.blendMode = "destination-out"; // var range:Image=new Image(); //...
来源: Laya_社区 发布时间: 20171213
...官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECTIONL...
来源: Laya2.0_文档 发布时间: 20210714
...a.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stage.on(Laya.Event.CLICK,this,this.onClick); Laya.timer.frameLoop(1,this,this.onEnterFrame); } private onEnterFrame():void{ if(this.points.length>0){ if(this.i<this.points.length){ this.ball.x = this.points[this.i].x; this.ball.y = ...
来源: Laya_社区 发布时间: 20171108
...,应该用什么缓动模式 龙骨skeleton鼠标点击区域的设置 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 Laya 鼠标Cursor怪异问题,有demo LayaAir3D 导出和使用U3D粒子特效 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 问题...
来源: Laya_社区 发布时间: 20170324
...ev-loca ... 913:61) 02-06 14:59:43.858 6545 6658 I LayaBox : at EventHandler.__proto.runWith (http://10.0.1.72/game/dev-loca ... 711:59) 02-06 14:59:43.858 6545 6658 I LayaBox : at ResInfo.__proto.event (http://10.0.1.72/game/dev-loca ... 483:28) 02-06 14:59:43.858 6545 665...
来源: Laya_社区 发布时间: 20180206
...集打包找不到图集文件 ui list 里面的元素不能点击两次 event自定义事件的问题 [分享]Dialog 点击边缘不关闭的 Demo示例 问题状态 最新活动: 2019-02-22 16:52 浏览: 8499 关注: 10 人 想想你 • 2018-12-08 21:01 https://www.tslang.cn/docs/han ... .html 13...
来源: Laya_社区 发布时间: 20181207