大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
...g.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onloading extends ui.LoadingUI{ constructor(){ super(); this.loadingBar.changeHandler = new Handler(this, this.onChange); } public changeValue():void{ console.log("change"); ...
来源: Laya_社区 发布时间: 20180524
...); this.alpha = 0; Laya.stage.addChild(this); // this.pos(440,640); } Laya.class(sightBeadSprite, "SightBead", Laya.Sprite); return sightBeadSprite; }());然后如此使用destroy for (var i = 0; i < Laya.stage.numChildren; i++) { var object = Laya.stage.getChildAt(i); // object.removeSelf(); Lay...
来源: Laya_社区 发布时间: 20171012
...fined console.log(this._super);//undefined this.addChild(this.txt); } Laya.class(UIDropBox, "UIDropBox", Sprite); UIDropBox.prototype = { getTextFeild: function () { var text = new Text(); text.overflow = Text.VISIBLE; text.color = "#FFFFFF"; text.fontSize = 20; return text; } } return UIDropBox; })...
来源: Laya_社区 发布时间: 20161226
... laya.editorUI { /** * Graphics解析器 */ // class GraphicParser extends laya.display.GraphicAnimation { // protected _getTextureByUrl(url: string): string; // static parseAnimationData(aniData: any): any; // } } T15_UITest.zip 2017-08-1...
来源: Laya_社区 发布时间: 20170817
...t laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(1500, 900); //加载引擎需要的资源 var map1:TiledMap = new TiledMap(); map1.createMap("aa.json",new Rectangle(0,0,1200,720),Handler.crea...
来源: Laya_社区 发布时间: 20170105
...代码设定ColorPicker相关的属性。示例代码如下: const { regClass, property } = Laya; @regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D...
来源: Laya2.0_api 发布时间: 20190513
...Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 类用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Accesso...
来源: Laya3.0_api 发布时间: 20231102
...回复 陆仁毅 赞同来自: 为世界献上奇迹 在core.js包里的,class Input .... 他的 _focusOut方法 加上这行话 2019-10-28 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 没有复现 2019-10-22 0 1 分享 微博 QZONE 微信 为世界献上奇迹 赞同来自: 2019-10-...
来源: Laya_社区 发布时间: 20191022
...不多说直接看例子 undefined preload.js:55 Error: "Can not find class laya.effect.ColorFilterSetter" laya.core.js:29646 at getCompInstance (file:///D:/WQSG/Documents/testLayaFont/testLayaFont2/bin/libs/laya.core.js:29646:13) at createComp (file:///D:/WQSG/Documents/testLayaFont/testLay...
来源: Laya_社区 发布时间: 20190730