大约有 2,370 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1762) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(67) Laya_示例(48) Laya2.0_示例(42)
...0, 100, 300, "#ffffff"); this.img.mask = imgMask; Laya.Tween.to(this.img, {x:100}, 10000).update = Laya.Handler.create(this, this.updateMsk, null, false); } private updateMsk():void { this.img.mask.graphics.clear(true); this.img.mask.graphics.drawRect(100 - this.img.x, 0, this.img.width, 300, "#ffff...
来源: Laya_社区 发布时间: 20190722
...么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); let tempImg: Laya.I...
来源: Laya_社区 发布时间: 20170508
...相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_XS 赞同来自: 引擎中没有提供拖尾的效果代码吧,代码是你做的吧,是不是你的实现方式存在问题,你可以说下你的实现方式 2018-08-22 0 3 分享 微博 QZONE 微信 承 赞同来自: ...
来源: Laya_社区 发布时间: 20180816
...Elem = document.documentElement var win = document.defaultView var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.pageX || e.clientX)-clientBox.x - win.pageXOffset - docElem.clientLeft,(e.pageY || e.clientY)-clientBox.y - win.pageYOffset - docElem.clientTop); // this._po...
来源: Laya_社区 发布时间: 20191227
list 数据不会及时渲染 refreshCard(0,[xxxxxx]); public function refreshCard(index:int,cardArr:Array):void{ var cardList:List = _homeSeceneView["myCard_"+index]; if(cardList){ if(!cardList.visible){ ...
来源: Laya_社区 发布时间: 20170310
...的一个页面引入,能打包之后放到android studio里面访问index.html不? mPlugin.game_plugin_set_option("gameUrl", "http://192.168.x.x:8900/bin/index.html"); 这种方式能够访问到index.html,有没有直接把layaAir打包直接放在android Studio 里面,然后直...
来源: Laya_社区 发布时间: 20171224
API DocumentationAll Packages | All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向...
来源: Laya2.0_api 发布时间: 20190513
...a.stage.drawCallOptimize = true; let text1 = new Laya.Text(); text1.text = "ceshi1"; Laya.stage.addChild(text1); text1.fontSize = 40; text1.x = 280; text1.y = 180; ...
来源: Laya_社区 发布时间: 20210914
[LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 输入框得到焦点后,输入的内容都是蓝色的字,失去焦点后变回设置的颜色,而整个流程中我并没有设置过蓝色字。import { ui } from "../../ui/layaMaxUI"; import GameData from "../game/GameData";...
来源: Laya_社区 发布时间: 20200410
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20251218