大约有 2,394 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1817) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(77) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(47)
...吗,好尴尬啊 2017-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 你是pc端测试还是手机浏览器、还是打包apk测试的呢,能否提供下你的测试案例,我...
来源: Laya_社区 发布时间: 20170411
...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/EventDispatcher" EventDispatcher Class EventDispatcher EventDispatcher 类是可调度事件的所有类的基类。 Hierarchy Ev...
来源: Laya3.0_api 发布时间: 20231115
...DIAN; //这里我们采用小端 //建立连接 this.socket.connectByUrl("wss://192.168.1.250:5000/websocket/"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, th...
来源: Laya_社区 发布时间: 20180510
...vate ps: Laya.Sprite; a: number; b: number; path: Array<number> = ; constructor() { Laya.init(1600, 1400); Laya.stage.bgColor = "#000000"; this.ps = new Laya.Sprite(); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.down2) Laya.stage.on(Laya.Event.MOUSE_UP, this, this.up2) Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20170721
.../================= demo1 ======================= // JQ(aWater).click(function () { // //我已经打算废弃这样的事件用 on来动态绑定触法 // }) // //================= demo1 ======================= // //================= demo2 ======================= JQ(aWater).on('click', function () {...
来源: Laya_社区 发布时间: 20171123
...= Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, this, onBtn2Click); function onBtn...
来源: Laya_示例 发布时间: 20251130
...= Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, this, onBtn2Click); function onBtn...
来源: Laya2.0_示例 发布时间: 20200319
...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispa...
来源: Laya3.0_api 发布时间: 20231115
...我们采用大端 this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.connectByUrl("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); thi...
来源: Laya_社区 发布时间: 20180312
...放报laya.core.js:906 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLTexture'. 代码如下:// 创建video对象 let videoElement = new Laya.Video(); videoElement.x = 0; videoElement.y = 0; videoElement.size(1920,1080); videoEleme...
来源: Laya_社区 发布时间: 20200722