大约有 914 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(546) Laya2.0_示例(94) Laya_示例(90) Laya2.0_文档(79) Laya3.0_api(62) Laya3.0_文档(41) laya_api(1) Laya2.0_api(1)
... tex.once(Event.READY, this, this.drawImage, [tex, x, y, width, height]); } 导致 tex 找不到 getIsReady 方法报错 报错堆栈 TypeError: tex.getIsReady is not a function at Graphics.loadImage (file:///D:/zxl/2.0_stable/lfGame2.0/bin/...
来源: Laya_社区 发布时间: 20200417
...te = new Sprite; ape.x=(apesCtn._childs.length)*(stageWidth/4) var bl:Number=texture.width/texture.height ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl); apesCtn.addChild(ape); } 201...
来源: Laya_社区 发布时间: 20161023
...增加了LabelScript脚本(有“+”号标识) 对item节点修改了width属性(属性设置面板有黄色线提示) 添加了Button组件(有“+”号标识) 这些修改也可以覆盖到预制体中,我们来看看如何操作。如图3-4所示 (图3-4) 点击item节点,...
来源: Laya3.0_文档 发布时间: 20251105
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled displayHei...
来源: Laya3.0_api 发布时间: 20231115
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "fixedwidth"; Laya.stage.bgColor = '#000'; setup(); })(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, o...
来源: Laya_社区 发布时间: 20180323
...this.zombieAnimator.on is not a function if (window["Laya3D"]) Laya3D.init(width,heigh) 调用失败,引起底层问题 浏览器运行提示TypeError: xxx is not a function 希望Laya3D的入门提供一个unity的项目例子 LayaAirIDE2.2 - Laya3D init error ,must support webGL laya3d在vivo小...
来源: Laya_社区 发布时间: 20211215
...对象的属性 y 的值,用于控制 text 对象的显示位置。 text.width = 300;//设置 text 的宽度。 text.height = 200;//设置 text 的高度。 text.italic = true;//设置 text 的文本显示为斜体。 text.borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.a...
来源: Laya3.0_api 发布时间: 20231115
...终点所在的位置和方向,链接将在这个终点位置结束。 Width:链接的宽度,决定了链接的可通过区域的大小。 Bidirectional:是否为双向链接。如果不勾选,则链接只能单向通行,代理只能从起点到终点,不可以从终点到起点。 如...
来源: Laya3.0_文档 发布时间: 20251010
..... 上一行代码: graphics.drawTexture(shareTexture, 0, 0, shareTexture.width, shareTexture.height); 下一行报错: Uncaught TypeError: this.bitmap.activeResource is not a function 2020-05-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20190910
...AP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalRotation globa...
来源: Laya3.0_api 发布时间: 20231115