大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...Handler=laya.utils.Handler; import Loader=laya.net.Loader; // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya...
来源: Laya_社区 发布时间: 20171227
...义啊,我在想自己建个空的类就好了 package flash.ui { public class Mouse { public function Mouse() { } public static function hide():void { } public static function show():void { } } } cuixueying • 2017-03-17 19:46 有没有例子,上传一个,我们看下!
来源: Laya_社区 发布时间: 20170317
...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
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