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

大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)

2301. 多个button如何区分 [ 49%]

... public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 在调用函数后面添加区分button的参数应该可以吧 189*****192 • 2017-04-26 09:33 @cyqcyqcyq:我也有另一种解决方式 for(var i:int=0;i<10;i++) { var btn:Button=new Button(); .......

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

2302. textArea滚动条异常问题 [ 49%]

...put.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private function onInputChange(e:Event):void { txtLast.text = "剩余...

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

2303. 导出的3D资源加载报错 [ 49%]

...eate("res/LayaScene_layaScene/layaScene.lh",Handler.create(this,onModelOK),null,Sprite3D); } private function onModelOK():void { //添加3D场景 var scene:Scene = new Scene(); Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera:Camera = new Camera( 0, 0...

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

2304. laya.ani.bone.canvasmesh.SkinMeshForGraphic_API3.0 [ 49%]

...ya/ani/bone/canvasmesh/MeshData.ts:13 纹理 transform transform: Matrix | null Defined in laya/ani/bone/canvasmesh/SkinMeshForGraphic.ts:22 矩阵 useUvTransform useUvTransform: boolean = false Inherited from MeshData.useUvTransform Defined in laya/ani/bone/canvasmesh/MeshData.ts:38 是否有uv变...

来源: Laya3.0_api 发布时间: 20231115

2305. [QQ小游戏适配] Laya.loader.create 在QQ安卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 [ 49%]

...create(path, completeCallBack, this.loadProgressCallback, type).on("error",null,function(msg){ console.error("ERROR",msg) }) 2019-06-17 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 李长忠 赞同来自: 同一个...

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

2306. 急急急,如何设置按钮点击加载ani [ 49%]

...         Laya.loader.load(aniPath, Handler.create(this,onLoaded),null,Loader.ATLAS);         }                  private function onLoaded():void {             //加载按钮资源             Laya.loader.load(skin,Handler.create(this,onBegin))...

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

2307. laya.particle.ParticleSetting_API3.0 [ 49%]

...icleSetting.ts:96 发射器发射速率 emitterType emitterType: string = "null" Defined in laya/particle/ParticleSetting.ts:94 发射器类型,"point","box","sphere","ring" emitterVelocitySensitivity emitterVelocitySensitivity: number = 1 Defined in laya/particle/ParticleSetting.ts:17 粒子受发...

来源: Laya3.0_api 发布时间: 20231115

2308. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 49%]

...back function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 2019-10-24 13:42 浏览: 1387 关注: 4 人

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

2309. Cannot read property 'call' of undefined [ 49%]

...operty 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text ...

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

2310. dialog的lock属性没出现 [ 49%]

...eate(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE...

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