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

大约有 1,557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)

641. 使用Pool出错,怎么解决??? [ 64%]

...Pool.recover("ball", Balloon);后再重新var ballx:Balloon= Pool.getItemByClass("ball", Balloon);这样会有问题。 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 回收到...

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

642. 3d项目,需要加一层显示分数的界面 [ 64%]

...示分数的界面,比如我写了A.ui文件,自动生成一个tsclass A extends ui.AUI,但是这个ui命名空间并不存在,如果我手动改成extends Laya.View(.ui文件里用的View标签),那么我如何让这个去使用这个.ui文件呢?就像eui里指定skin一样...

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

643. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1Tangent [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1TangentInheritanceVertexPositionNormalColorTexture0Texture1Tangent Ob...

来源: laya_api 发布时间: 20170929

644. Laya ts版,使用jasmine进行单元测试 [ 64%]

...!'; } 一个是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

645. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 64%]

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

646. 绘制矩形与圆角矩形(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 64%]

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

647. 面板容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...需要添加如下的示例代码,实现脚本控制Panel: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Panel }) public panel: Laya.Panel; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方...

来源: Laya3.0_文档 发布时间: 20251010

648. laya.utils.Handler [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HandlerProperties | Methods Packagelaya.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建...

来源: laya_api 发布时间: 20170929

649. laya.utils.Handler [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HandlerProperties | Methods Packagelaya.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件处理器。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建...

来源: Laya2.0_api 发布时间: 20190513

650. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 64%]

...用请参考 [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