大约有 390 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(222) Laya2.0_文档(50) Laya_示例(42) Laya2.0_示例(40) Laya3.0_api(14) Laya3.0_文档(12) laya_api(6) Laya2.0_api(4)
...; musicButton.on(Event.CLICK, this, this.onPlayMusic); } createButton(labelText) { let w = 110, h = 40; const Sprite = Laya.Sprite; let btn = new Sprite(); Laya.stage.addChild(btn); btn.size(w, h); btn.graphics.drawRect(0, 0, w, h, "#FF7F50"); btn.graphics.fillText(labelText, w / 2, 8, "24px SimHei"...
来源: Laya2.0_示例 发布时间: 20251130
...相同的laya代码。唯一区别就是,一个使用了<script type="text/javascript" src="index.js"></script>,即使用了laya,另一个没使用。 没使用laya的Iframe页面能正常响应键盘事件:http://148.70.119.141/test/platform1.html 使用了laya的Iframe页面...
来源: Laya_社区 发布时间: 20190714
...0px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;">' + 'cheese</span>' + '</div>' + '</foreignObj...
来源: Laya3.0_文档 发布时间: 20251010
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...
来源: Laya2.0_文档 发布时间: 20210715
...连接成功后,服务器推送玩家资产,程序尝试更新Label的text。结果报错如附件。 补充说明: 我发现 label里面有 _tf ( TextField ), label是肯定存在的因为能找到的,但是label内部的 _tf 不知因何原因经常找不到,我干预不了表示...
来源: Laya_社区 发布时间: 20171023
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...
来源: Laya2.0_文档 发布时间: 20210715
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和...
来源: laya_api 发布时间: 20170929
...存入数据库为乱码。服务端php已经有了header("Content-type: text/html; charset=utf-8"); 感觉不像是服务端的问题。客服端在send时发出的好像就不是utf-8数据,没有找到相关的方法像网上说的那样URLEncoder.encode(value,"UTF-8")之类的方法 请问我...
来源: Laya_社区 发布时间: 20170327
移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? let fun = () => { let dt = new Date() console.log("=============>", (dt.getTime() - this.IndexFrame)); this.lbTips.text = this.lbTips.text + " " + (dt.getT...
来源: Laya_社区 发布时间: 20230807
...> <html> <head> <title></title> <style type="text/css"> .p1{font-family:"Arial bold"; color: #583823;font-size: 25px} .p2{font-family:"Times New Roman";color: #583823;font-size: 25px} .p3{font-family:"Arial Black";color: #583823;font-size: 25px} .p4{font-family:"Aria...
来源: Laya_社区 发布时间: 20180629