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

大约有 236 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

61. 请问 这是什么错误 : "Cannot read property '$_TID' of undefined" 就是我通过键盘快捷键控制人物移动时 一直会出现。 [ 68%]

...t 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 laya2.0加载3d场景...

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

62. 文本颜色在其他层之下,就会被挡住导致颜色暗淡,不是本来颜色 [ 68%]

...关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于文本遮挡 关于适配采用showAll后留白部分的颜色问题 富文本下划线绘制bug 为什么ani动画执行的...

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

63. setSubPixels画布擦除不掉 [ 68%]

setSubPixels画布擦除不掉 this.btn.label = Math.random().toString(); // console.log(Math.random()); let tex:Laya.Texture = Laya.Loader.getRes(this.bUrl); let x:number = this._testStatus == true ? 0:50;//Math.random()>0.5 ? 50 : 0; this._testStatus = !this._testStatus; // let canvasInfo = th...

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

64. List滚动条问题 [ 68%]

...his._goldButton = new Laya.Button(); this._goldButton.skin = "res/popupwnd/btn_buygold.png"; this._goldButton.labelFont = font.family; this._goldButton.labelBold = (parseInt(font.bold | 0) == 0 ? false : true); this._goldButton.labelSize = parseInt(font.size); this._goldButton.labelColors = "#FFFFFF...

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

65. 加载的时候动画会卡 [ 68%]

...      Lload.__super.call(this);         this.dh();         this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing);         Laya.propertyIsEnumerable = true;     }     Laya.class(Lload,"Lload",ui.loadUI);     Lload.prototype.dh = function(){         this.ani1.play(0,true);     ...

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

66. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 68%]

...的吗?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 如何获取一个3D模型的长宽高? laya2.2 导出场景物理碰撞问题 模型资源释放问题 问题状态 最新活...

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

67. 按照官方例子操作,自定义组件编译出错 [ 68%]

...现错误: Error processing launch: Error Could not attach to main target btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 版本不匹配! 全局 ...

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

68. 请问js怎么触发按钮的onclick事件,按教程的写,触发不知道为什么。 [ 67%]

...c2.layabox.com/doc/?nav=zh-js-2-2-5 按里面的步骤为按钮绑定一个btn1.js 我在这样写的   export default class btn1 extends Laya.Script { constructor(){ alert("1"); //执行后这里触发了 super();} onEnable(){ alert("2"); //执行后这里触发了 } onclick(){ alert("3"); //执...

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

69. 怎么在模拟点击事件 [ 67%]

...么实现不了,有什么方法吗   Browser.document.getElementById('btn').click(); 2018-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 四叶草 赞同来自: 汤启明 这文档写的真的不行 2019-...

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

70. 请问UI之间的场景切换要怎么写 [ 67%]

...sg_sign = (function(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _...

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