大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
... this.list_rule.totalPage; let index = Math.floor(value / page) if (index > 5) index = 5; this.setCurPage(index) } public onMouse(e: Laya.Event, index: number): void { if (e.type == Laya.Event.MOUSE_DOWN) { this.m_downValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_U...
来源: Laya_社区 发布时间: 20181112
...瞄准点和整体的中心点 */ private _pivot_demon:Point = <Point>{ x: 50, y: 50 }; /** 特指血条+魔鬼的大小, 用于计算飞行物整体大小 */ private _top_area:Area = <Area>{ w: -1, h: -1 }; /** 血条 */ private _blood_chart: Laya.ProgressBar; // toset: private ...
来源: Laya_社区 发布时间: 20180515
..."http://10.1.1.123:9090/pgame/s ... 3B%3B Laya.timer.loop(30000, this, ()=>{ let hr = new Laya.HttpRequest(); hr.http.timeout = 3000; hr.http.ontimeout = function(){console.log("http timeout test: timeout")}; hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http tim...
来源: Laya_社区 发布时间: 20171016
...多自动换一行 隐私政策</br> 本版更新时间:2023年【07】月【13】日</br> 欢迎您选择由我们及关联公司(以下统称“我们”)提供的产品及/或服务(下统称“服务”),我们尊重...
来源: Laya_社区 发布时间: 20230829
...:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系上的 Y 轴坐...
来源: laya_api 发布时间: 20170929
...方法只执行一次 onAwake(): void { this.fontclp.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.fontclp.size(500, 60); //大小 this.fontclp.pivot(this.fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.font...
来源: Laya3.0_文档 发布时间: 20251010
...json格式,里面格子的自定义属性的保存路径是:layers --> objects --> properties; 然后这是获取tile自定义属性方法 接着上面,这是自定义属性方法容器赋值的代码 这是我想要的某个格子的数据,也就是objects --> properties里...
来源: Laya_社区 发布时间: 20170602
...n Error: expected Number(uniform4f)<div class="eruda-json eruda-hidden"></div> at e.value (wagame://WAGameVConsole.html:27576:37881) at new e (wagame://WAGameVConsole.html:27576:36645) at t.value (wagame://WAGameVConsole.html:27576:32217) at t.value (wagame://WAGameVConsole.html:27576:31...
来源: Laya_社区 发布时间: 20190423
...raybuffer"; // 连接成功时发送测试消息 this.socket.onopen = () => { console.log("WebSocket connected"); // 发送 ChatMessage 类型的打招呼消息,user 字段表示消息发送者的用户名。message 字段包含消息内容。timestamp 是当前时间戳。 const greetingMessag...
来源: Laya3.0_文档 发布时间: 20251010
...的时候弹出" Cannot find module 'ws'"? C:\Users\Administrator\Desktop>node jjj.js module.js:472 throw err; ^ Error: Cannot find module 'ws' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (inter...
来源: Laya_社区 发布时间: 20170424