大约有 412 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
...本没有被调用,也查找了Laya.Scene的父类一直到laya.events.EventDispatcher才发现有这个虚方法,但是不知道为什么进不去onEnable方法里面,求解
来源: Laya_社区 发布时间: 20190402
.../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
...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
...个纹理处理类。 */ //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
...载方式 第一次发,不足之处还请见谅 class RES extends Laya.EventDispatcher{ // 资源组 public static groups: any; // 资源 public static resources: any; // 完成加载资源配置文件 public static ONLOADEDRESJSON: string = "onLoadedResJson"; // 资源配置文件加载出错 pub...
来源: Laya_社区 发布时间: 20161011
...类用于创建组件的父类。 */ 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
...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
...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
...逻辑处理。 2.1 支持的事件类型 LayaAir中的HttpRequest继承自EventDispatcher,因此支持多种事件类型,用于HTTP请求后的响应逻辑,常用的事件有: Event.PROGRESS:用于跟踪 HTTP 请求的上传和下载进度,例如文件下载时,值为1时表示已完...
来源: Laya3.0_文档 发布时间: 20251010
....1.4 在代码中怎么使用 LayaAir引擎中用 HttpRequest 继承的是 EventDispatcher,具有事件派发的功能。加上本身具备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest =...
来源: Laya3.0_文档 发布时间: 20250104