• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)

1841. laya.d3.core.particleShuriKen.module.GradientSize [ 55%]

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

1842. laya.d3.core.particleShuriKen.module.GradientSize [ 55%]

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

1843. 小游戏初始化黑屏 [ 55%]

...是黑,更改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

1844. 使用API:loadAnimation 加载并播放动画问题 [ 55%]

...,动画能正常播放。但是调试控制台缺输出: 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

1845. UI编辑发布后运行lose skin [ 55%]

...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

1846. 附加脚本的使用问题 [ 55%]

附加脚本的使用问题 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

1847. 为什么hitTestPoint始终是false? [ 55%]

为什么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

1848. 请问怎么通过OC直接调用一个JS函数 [ 55%]

...是什么意思?    [[conchRuntime GetIOSConchRuntime] callMethod:0 className:@"MyClass" methodName:@"CallBackFuncXXX" param:XXXX];  我按上面写会出现错误日志  reflection error : can not find class [MyClass] 如果用runJS来执行的话我代码写成这样 "Laya.MyClas...

来源: Laya_社区 发布时间: 20171019

1849. 新手学js做开发,写了一个按钮,点击没有反应 [ 55%]

...on LoginView(){         LoginView.super(this);     }     Laya.class(LoginView,"LoginView",_super);     return LoginView; })(ui.LoginUI);   2018-01-30 0 0 分享 微博 QZONE 微信 sky_summer 赞同来自: 我是根据视频上学的(如下截图),我对照了一下,他这...

来源: Laya_社区 发布时间: 20180130

1850. laya.ani.js:4637 Uncaught TypeError: Cannot read property 'getAnimationCount' of null [ 55%]

...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