大约有 498 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0069 秒)
Laya_社区(182) Laya3.0_api(109) Laya2.0_文档(72) Laya2.0_api(66) laya_api(46) Laya3.0_文档(17) Laya2.0_示例(4) Laya_示例(2)
...ponent.ts:281 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标...
来源: Laya3.0_api 发布时间: 20231115
...,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```javascript //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); ``` ...
来源: Laya2.0_文档 发布时间: 20210715
...类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String ...
来源: Laya2.0_api 发布时间: 20190513
...直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能...
来源: laya_api 发布时间: 20170929
...,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = new Laya.Animation(); //加载动画文件 tl.loadAnimation("Ti...
来源: Laya2.0_文档 发布时间: 20210715
...019-05-16 15:16 Laya.loader.create("model/role/1/model.lh", Laya.Handler.create(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写...
来源: Laya_社区 发布时间: 20190516
...直方向中心线的距离(以像素为单位)。 UIComponent clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲...
来源: Laya2.0_api 发布时间: 20190513
... this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete)); } private __bind:BindSkeleton; private testLoadComplete():void{ let source:BindSource=new BindSource("gongji"); source.gr...
来源: Laya_社区 发布时间: 20190805
...直方向中心线的距离(以像素为单位)。 UIComponent clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲...
来源: Laya2.0_api 发布时间: 20190513
...01; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; ...
来源: Laya_社区 发布时间: 20180119