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

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

1231. ProgressBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 50%]

...码设定ProgressBar相关的属性。 **运行示例效果:** ​ ![5](gif/1.gif) ​ (图5)通过代码创建ProgressBar ​ ProgressBar的其他属性也可以通过代码来设置,上述示例演示了如何通过代码创建不同皮肤(样式)的ProgressBar,有兴趣的读者可以自...

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

1232. 我看到这段话后,我 [ 50%]

...       for (var prop in this._dataSource){             if (this.hasOwnProperty(prop)&& !((typeof (this[prop])=='function'))){                 this[prop]=this._dataSource[prop];             }         }     }); 在UIComponent中 附件...

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

1233. list中加的button不能接收点击事件 求一个list中加button的demo [ 50%]

... number):void{         console.log("3333333333333");         if (cell.useBtn.clickHandler == undefined) {             cell.useBtn.on("click", this, this.onItemUse, [index]);         }     }     onItemUse(index):void{         console.log("11111111111111111...

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

1234. LayaNative端使用.ttf字体 [ 50%]

...nction onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.window.conch.setFontFaceFromBuffer("hu",arr); } var text:Text=new Text(); text.font="hu"; text.fontSize=50; text.text="哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈...

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

1235. HTMLDivElement中image标签多次赋值报错 [ 50%]

...我是这么改的: 在laya.html.js内938行加入             if(_$this.destroyed){                 return;             } 2018-12-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 @DT_ 相关问...

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

1236. 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 [ 50%]

...to._remove=function(index){         this.length--;         if (index!==this.length){             var end=this.elements[this.length];             this.elements[index]=end;             end._indexInCastShadowList=index;         }     } 201...

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

1237. [LayaAir3]Laya3.2.2版Spine 3.8,Spine2DRenderNode动画播放完毕后,playState返回不正确 [ 50%]

...(this.trackIndex); 此时 this._currentPlayTime 为非零,结果就是 if (this._currentPlayTime) return Spine2DRenderNode.PAUSED; 附件 : --> 2024-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox...

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

1238. Camera.viewportToRay中origin与direction相等问题 [ 50%]

...ast(this._ray, this._raycastHit); console.log(this._raycastHit.succeeded); if(this._raycastHit.succeeded) console.log(this._raycastHit.collider.owner.name); } GameManager.instance.mainCamera其实就是场景里唯一的相机(从Unity里导出的)但是屡次不能成功.后来我在调试的时候...

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

1239. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 49%]

... touchemoves:Array = evt.targetTouches;                     if(!touchemoves)break;                     for (j = 0, n = touchemoves.length; j < n; j++) {                         _this.initEvent(touchemoves[j], evt);                    ...

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

1240. Native 在iOS上支付失败的问题,及临时解决方法 [ 49%]

...接)中有明确提示 requestData参数:  The default value is nil. If requestData is not nil, your payment request will be rejected. --默认值为nil,如果requestData不是nil,您的支付请求将被拒绝。 目前我的解决方法是注释掉payment.requestData = pData这一行,...

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