大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientSizeProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientSizeInheritanceGradientSize ObjectImplements laya.d3.core.IClone GradientSize 类用于创建渐变尺寸。 Public Pr...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientSizeProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientSizeInheritanceGradientSize ObjectImplements laya.d3.core.IClone GradientSize 类用于创建渐变尺寸。 Public Pr...
来源: Laya2.0_api 发布时间: 20190513
...是黑,更改bgColor无效 Laya.MiniAdpter.init(); Laya.init(450, 800); class GameMain { constructor() { Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.s...
来源: Laya_社区 发布时间: 20180620
...,动画能正常播放。但是调试控制台缺输出: Warning!,this class[MiniAdpter] already exist: Object ani not found: ani/hero.ani#hero_down ani not found: ani/hero.ani#hero_down 由于本人刚刚接触Laya,不知道少了那个步骤的操作。 1.在编辑器上编辑并保存好动...
来源: Laya_社区 发布时间: 20180807
...mport Handler = Laya.Handler; import Loader = Laya.Loader; // 程序入口 class GameMain{ private begin: Begin; constructor() { Laya.init(600,400, WebGL); Laya.stage.bgColor = "#000000"; Laya.loader.load("comp/button.png", Handler.create(this, this.onLoaded)); } private onLoaded(): void { this.begi...
来源: Laya_社区 发布时间: 20180829
附加脚本的使用问题 class ScaleButton { constructor() { console.log("加载ScaleButton"); } private _owner: any; public set owner(o: laya.display.Sprite) { this._owner = o; console.log("设置owner"); } public get owner...
来源: Laya_社区 发布时间: 20170601
为什么hitTestPoint始终是false? class TestUI extends Laya.Sprite { private s:Laya.Sprite = new Laya.Sprite(); constructor() { super(); var img:Laya.Image = new Laya.Image("comp/bg.png"); this.s.addChild(img); this.addChild(this.s); Laya.stage.on(Laya.Event.CLICK, this, this.hitPoint); } priv...
来源: Laya_社区 发布时间: 20170319
...是什么意思? [[conchRuntime GetIOSConchRuntime] callMethod:0 className:@"MyClass" methodName:@"CallBackFuncXXX" param:XXXX]; 我按上面写会出现错误日志 reflection error : can not find class [MyClass] 如果用runJS来执行的话我代码写成这样 "Laya.MyClas...
来源: Laya_社区 发布时间: 20171019
...on LoginView(){ LoginView.super(this); } Laya.class(LoginView,"LoginView",_super); return LoginView; })(ui.LoginUI); 2018-01-30 0 0 分享 微博 QZONE 微信 sky_summer 赞同来自: 我是根据视频上学的(如下截图),我对照了一下,他这...
来源: Laya_社区 发布时间: 20180130
...w.scene undefined Cannot read property 'displayObject' of null laya 2.0 用class创建scene, 实例 的 url属性为null, Laya发布微信包提示Uncaught ReferenceError: Laya is not defined 多个对象添加点击事件, 舞台上面移除掉所有对象,并且置为null 问题状态 最新活...
来源: Laya_社区 发布时间: 20180417