大约有 1,557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
...Pool.recover("ball", Balloon);后再重新var ballx:Balloon= Pool.getItemByClass("ball", Balloon);这样会有问题。 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 回收到...
来源: Laya_社区 发布时间: 20161213
...示分数的界面,比如我写了A.ui文件,自动生成一个ts类,class A extends ui.AUI,但是这个ui命名空间并不存在,如果我手动改成extends Laya.View(.ui文件里用的View标签),那么我如何让这个类去使用这个.ui文件呢?就像eui里指定skin一样...
来源: Laya_社区 发布时间: 20180323
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1TangentInheritanceVertexPositionNormalColorTexture0Texture1Tangent Ob...
来源: laya_api 发布时间: 20170929
...!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } } 一个是 src/Library/UserService.ts, 内容为module Library{ export class UserService{ constructor(){ } public multip...
来源: Laya_社区 发布时间: 20181214
...te; this.bg.loaImage("war/beijing.png"); this.addchild(this.bg); }; Laya.class(BackGround,"BackGround",_super) return BackGround; })(Laya.sprite); BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 该问...
来源: Laya_社区 发布时间: 20180110
...y.Sprite; import laya.display.Stage; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
...需要添加如下的示例代码,实现脚本控制Panel: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Panel }) public panel: Laya.Panel; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames HandlerProperties | Methods Packagelaya.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames HandlerProperties | Methods Packagelaya.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建...
来源: Laya2.0_api 发布时间: 20190513
...用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 ##...
来源: Laya2.0_文档 发布时间: 20210715