大约有 336 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231102
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
....class(Dialog_Instance,"mypackage.dialogExample.Dialog_Instance",_super);//注册类Dialog_Instance。 })(laya.ui.Dialog); function loadComplete() { console.log("资源加载完成!"); dialog = new mypackage.dialogExample.Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog...
来源: Laya3.0_api 发布时间: 20231115
...addChild(arrow); }; Laya.class(Item,"mypackage.treeExample.Item",_super);//注册类 Item 。 })(laya.ui.Box); example import Tree = laya.ui.Tree; import Browser = laya.utils.Browser; import Handler = laya.utils.Handler; class Tree_Example { constructor() { Laya.init(640, 800); Laya.stage.bgColor = ...
来源: Laya3.0_api 发布时间: 20231115
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDis...
来源: Laya2.0_api 发布时间: 20190513
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513
...Loader/MaterialLoader/MeshLoader之类。 然后使用Loader.registerLoader注册这个类。例如 Loader.registerLoader(["xyz"], YourLoader); 2、关于动态加载IDE里的资源说明 无论加载什么资源,编辑器内文件名是什么,路径就填什么。不用放到bin目录,直接...
来源: Laya3.0_文档 发布时间: 20251010