大约有 1,377 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)
Laya_社区(1072) Laya2.0_文档(80) Laya3.0_api(75) Laya_示例(42) Laya2.0_示例(40) Laya3.0_文档(27) Laya2.0_api(22) laya_api(19)
...别调用?如图 FD 宏编译时 出现 试图访问该方法时失败 Text类中竟然没有pos函数的api~ as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? LayaAir 2D有没有夜晚灯光照明效果实现的内置方法? 关于@prop ...
来源: Laya_社区 发布时间: 20171127
...%的几率会触发error事件回调,收到的message为"failed Status:0 text:" 只在本次运行的第一次调用会出现,如果第一次没有触发error则后面的所有send也不会触发error 而第一次触发error则后面的所有send都会触发error 2018-03-30 添加评论 免...
来源: Laya_社区 发布时间: 20180330
...的一个JSON文本资源,JSON格式没问题, 然后我试了下使用TEXT方式来加载,这回能加载,但中文全是乱码! 大致原因我也猜到了:JSON资源的编码方式不对! 然后我确认了下JSON资源的编码方式:utf-8! 哎!心中一万个 xxxxx 想来想...
来源: Laya_社区 发布时间: 20200311
...Y = this.playerHB.height / 2; this.playerHB.y = 500; this.playerHB.txtName.text = "搞个毛啊"; // this.playerVO.name; this.addChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x...
来源: Laya_社区 发布时间: 20180102
... _txt.color="#000000"; _txt.text="是时晋武之世,寺庙图像,虽崇京邑,而方等深经,藴在葱外。护乃慨然发愤,志弘大道。遂随师至西域,游历诸国,外国异言三十六种,书亦如之,护皆遍学,贯综...
来源: Laya_社区 发布时间: 20180131
...p:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSki...
来源: Laya_社区 发布时间: 20180828
drawToTexture 绘制函数不工作呢 let top_rect: Laya.Sprite = new Laya.Sprite(); top_rect.x = 0; top_rect.y = 0; top_rect.size(100, 100); top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1); ...
来源: Laya_社区 发布时间: 20190730
...ibutes' does not exist on type 'Node & ChildNode'. Cannot set property text of #<Button> which has only a getter 问题状态 最新活动: 2020-07-09 15:20 浏览: 1695 关注: 2 人
来源: Laya_社区 发布时间: 20200707
...dth, Laya.stage.height, "#3e3534"); Laya.stage.addChild(scene); var inputText = new Laya.Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - 400; inputText.y = Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word..."; // 设置字体样式 input...
来源: Laya_社区 发布时间: 20200223
...Laya/bin/lib/puremvc.min.js) 我在index里面加了 <script type="text/javascript" src="lib/puremvc.min.js"></script> unnamedzc • 2016-10-11 22:04 知道原因了 bluesea • 2016-10-12 13:43 这个怎么用,都不来一个实例, cuixueying • 2016-10-12 16:2...
来源: Laya_社区 发布时间: 20160802