大约有 1,020 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...Clip_win.png",11, 1); this.singleNumberW = this.k.width; this.k.index = 2; console.log(this.singleNumberW+"======"+this.k.width); this.addChild(this.k); 是不是因为图片太大,cilp有什么限制吗 附件 : --> 2017-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170804
...); var stageWidth = Laya.stage.width; var stageHeight = Laya.stage.height; console.log(stageWidth*0.05+":"+stageHeight); var path = [ ["moveTo",stageWidth*0.05,0], ["actTo",stageWidth*0.8,0,stageWidth*0.8,stageHeight*0.05,10], ["actTo",stageWidth*0.8,stageHeight*0.6,stageWidth*0.75,stageHeight*0.6,1...
来源: Laya_社区 发布时间: 20170806
...]{15,18}$"); if(reg.test(str)){ console.log("ok"); } 验证手机号码 var reg:RegExp = new RegExp("^1[0-9]{10}$"); 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170609
...e /*我以为第一个参数就是给场景实例对象*/){ console.log("scene:" + typeof(scene)); // 这里打印出来的是scene:object scene.getTestVallue(); // 我定义的一个public 方法,这里找不到这个函数,会报错,所以scene参数并不是给...
来源: Laya_社区 发布时间: 20181206
...要打开的场景中的runtime脚本中写 onOpened(XXX: string): void { console.log(XXX); } 这样就可以取到 ,嗯 就是还没怎么试传1个以上的值 155*****831 • 2019-09-23 15:52 如果真的要传多个值得你可以定义到一个数组中,然后把数组传过去,可能行...
来源: Laya_社区 发布时间: 20190203
...数 _proto_.ontime = function(){ this.loadNum=parseInt(this.loadNum) + 1; console.log(this.loadNum); return this.loadNum; } 控制台可以看到 ontime函数每隔 100毫秒就执行一次,this.loadNum的值在不断自增。 但是 this.txt_load.text = "资源加载中,当前进度:" + pa...
来源: Laya_社区 发布时间: 20171209
...正常进入 如图 相应的代码 window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); }之前是不会出现这个提示语的,除非网络不行才会提示,最近第一次进去就...
来源: Laya_社区 发布时间: 20180612
...出错误 打开layaide,出现错误,要怎么解决 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 ui分离模式首次加载布局错误问题 提示错误在laya.core.js里 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Ca...
来源: Laya_社区 发布时间: 20180613
...S 是没有自动补全提示吗 web端打包发布后能不能自动删除console.log [引擎优化]希望官方可以增加stencil功能 IDE通过.ui自动生成的ui代码报错 spine动画播放后图集错乱 问题状态 最新活动: 2025-07-11 10:22 浏览: 1458 关注: 3 人
来源: Laya_社区 发布时间: 20250710
...; this._path_space_y = Math.abs( this._tail_pos.y - this._head_pos.y ); // console.log("set path head_pos:" + this._head_pos.x + ":" + this._head_pos.y); // console.log("set path tail_pos:" + this._tail_pos.x + ":" + this._tail_pos.y); // console.log("set path space:" + this._path_space_x + ":" + th...
来源: Laya_社区 发布时间: 20180515