• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,240 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)

581. TextInput 在panle里滚动后输入位置错乱,求解 [ 71%]

...-25 0 6 分享 微博 QZONE 微信 水晶 赞同来自: this.input.on(Laya.Event.FOCUS,this,()=>{ this.board.scrollPane.touchEffect = false; }) this.input.on(Laya.Event.BLUR,this,()=>{ this.board.scrollPane.touchEffect = true; }) 2019-03-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

来源: Laya_社区 发布时间: 20180612

582. 分包项目, 加载js时报错 [ 71%]

... (<anonymous>)     at AA.__proto.complete (AA.max.js:410)     at EventHandler.__proto.runWith (AA.max.js:674)     at ResInfo.__proto.event (AA.max.js:453)     at LoaderManager.__proto._endLoad (AA.max.js:9492)     at Loader.onLoaded (AA.max.js:9469)     at EventHandler.__proto.runW...

来源: Laya_社区 发布时间: 20170725

583. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 71%]

...e { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800...

来源: Laya2.0_文档 发布时间: 20210714

584. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 71%]

...e { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800...

来源: Laya2.0_文档 发布时间: 20200929

585. 高级应用-寻路导航 [ 71%]

...orm.rotate(new Laya.Vector3(-45, 180, 0), true, false); Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { this.index = 0; //获取每次生成路径 this._everyPath = pathFingding.findPath(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this...

来源: Laya_示例 发布时间: 20251209

586. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 71%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ​ ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...

来源: Laya2.0_文档 发布时间: 20210714

587. Sprite3D-Sprite3D克隆 [ 71%]

...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class Sprite3DClone { private var scene:Scene; public function Sprite3DClone() { Laya3D.ini...

来源: Laya_示例 发布时间: 20251209

588. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 71%]

...Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @author */ public class Socketmanger{ private static var _I:Socketmanger; publ...

来源: Laya_社区 发布时间: 20170724

589. list 数据不会及时渲染 [ 71%]

...       }           private function onSelect(cardList:List, evt:Event, index:int):void         {             var cell:Box = cardList.getCell(index);             if(cell){                 if(evt.type == Event.CLICK){                      // ...

来源: Laya_社区 发布时间: 20170310

590. 无限循环滚动列表 [ 71%]

...同来自: 他也是自己写的  监听滑动  this._list.on(fairygui.Events.SCROLL, this, this.doSpecialEffect); 通过cell 距离 设置他的缩放比 MainPanel.prototype.doSpecialEffect = function () {         //change the scale according to the distance to the middle         var mid...

来源: Laya_社区 发布时间: 20180719