大约有 1,562 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
...t.color = "#ffffff"; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } new LayaAir3D();
来源: Laya_社区 发布时间: 20180908
...);//这个对象内部有一个属性为testNum; this.addChild(_bottomBtn); trace("测试1 = " + _bottomBtn.testNum + "-" + _bottomBtn);// 测试1 = 1-[object Object] this.removeChildren(); trace("测试2 = " + _bott...
来源: Laya_社区 发布时间: 20170328
...g.shapes = [shape]; sp.addComponentInstance(rig); this.Sprite.parent.addChild(sp); //设置ide中Sprite节点的shape有效 this.Sprite.getComponent(Laya.RigidBody).shapes = [shape]; 附件 : --> LayaProject_(2).zip 2025-09-12 3 条评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20250912
... this.vmask.graphics.drawPie(0, 0, 20, -90, 270, "#000000"); this.progress.addChild(this.progressvalue); this.progressvalue.mask = this.vmask; this.changevalue = function(value) { this.targetvalue = value; target = parseInt(360 * value - 90); this.vmask.graphics.clear(); if(target == -90){ //th...
来源: Laya_社区 发布时间: 20180725
...e3d/LayaScene_SampleScene/Conventional/role.lh"); Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...
来源: Laya_社区 发布时间: 20200113
... ball=new Sprite(); ball.graphics.drawCircle(0,0,50,"#FF00FF"); Laya.stage.addChild(ball); ball.x=275; ball.y=200; Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { // TODO Auto Generated method stub if (ball.x>540||ball.x<10) { xflag=! xflag; } if (xflag) { ball.x+=v; ...
来源: Laya_社区 发布时间: 20160424
...e.graphics.drawTexture(texture, 0, 0,texture.width,texture.height); this.addChild(sprite); } LayaUISample.max.js:19468 Uncaught TypeError: Cannot read property 'width' of undefined at Texture.moveUV (LayaUISample.max.js:19468) at GraphicsGL.__proto.drawTexture (LayaUISample.m...
来源: Laya_社区 发布时间: 20180725
...回复 陈志桦 赞同来自: 代码示例如下: var a = Laya.stage.addChild(new Laya.Label("ब्राह्मी1"));a.fontSize = 50 启动laya air调试 在控制台输入上面代码,就可以发现问题 2019-09-27 0 3 分享 微博 QZONE 微信 陈志桦 赞同来自: 使用l...
来源: Laya_社区 发布时间: 20190927
...ileSystemManager is not a function 官方视频教程中飞机大战 "this.addChild is not a function" api readFile success callback function undefined api readFile success callback function undefined 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function...
来源: Laya_社区 发布时间: 20171024
....loadAnimation("ef_zjh_bipai.ani"); //添加到舞台 Laya.stage.addChild(tl); ani的头像组件和名字要怎么获取 洋葱 • 2018-05-31 11:33 要给动画里的组件赋值 Laya_Aaron • 2018-05-31 11:38 查看官网文档和引擎示例。了解引擎机制。再做开发比较...
来源: Laya_社区 发布时间: 20180531