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

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

401. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 47%]

...本没有被调用,也查找了Laya.Scene的父类一直到laya.events.EventDispatcher才发现有这个虚方法,但是不知道为什么进不去onEnable方法里面,求解

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

402. Laya1.6.2发布flash版本 [ 44%]

.../AS3/2006/builtin::call() at laya.utils::Handler/runWith() at laya.events::EventDispatcher/event() at laya.resource::Resource/completeCreate() at laya.webgl.resource::WebGLCharImage/recreateResource() at laya.resource::Resource/activeResource() at laya.resource::Texture/active() at laya.webgl.text::...

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

403. Maximum call stack size exceeded [ 44%]

...xceeded Uncaught RangeError: Maximum call stack size exceeded     at new EventDispatcher (laya.core.js:1027)     at new Node (laya.core.js:13292)     at new Sprite (laya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     at Function.getCompInstance...

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

404. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 43%]

...个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this.offsetX=0; /**沿 Y 轴偏移量。*...

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

405. 分享个资源加载的方法,类似白鹭的加载方式 [ 43%]

...载方式 第一次发,不足之处还请见谅 class RES extends Laya.EventDispatcher{ // 资源组 public static groups: any; // 资源 public static resources: any; // 完成加载资源配置文件 public static ONLOADEDRESJSON: string = "onLoadedResJson"; // 资源配置文件加载出错 pub...

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

406. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 35%]

...类用于创建组件的父类。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerEnable: boolean; protected _enable: boo...

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

407. laya.ui.CheckBox_API3.0 [ 30%]

...tring, data?: any): boolean Implementation of ISelect.event Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

来源: Laya3.0_api 发布时间: 20231115

408. laya.ui.TextArea_API3.0 [ 29%]

...Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,......

来源: Laya3.0_api 发布时间: 20231115

409. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...逻辑处理。 2.1 支持的事件类型 LayaAir中的HttpRequest继承自EventDispatcher,因此支持多种事件类型,用于HTTP请求后的响应逻辑,常用的事件有: Event.PROGRESS:用于跟踪 HTTP 请求的上传和下载进度,例如文件下载时,值为1时表示已完...

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

410. 网络通信 · LayaAir3文档 · LAYABOX [ 28%]

....1.4 在代码中怎么使用 LayaAir引擎中用 HttpRequest 继承的是 EventDispatcher,具有事件派发的功能。加上本身具备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest =...

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