大约有 450 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0092 秒)
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDis...
来源: laya_api 发布时间: 20170929
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 isAncestorOf isAncestorOf(node: Node): boolean Inherit...
来源: Laya3.0_api 发布时间: 20231102
... class GameConfig { static init() { //注册Script或者Runtime引用 let reg = Laya.ClassUtils.regClass; reg("script/GameMain.js",GameMain); } } GameConfig.width = 640; GameConfig.height = 1136; GameConf...
来源: Laya_社区 发布时间: 20201110
...速的,请联系Layabox商务人员,或者在LayaOpen开发者平台中注册帐号,并对产品进行提交,经审核后,可以将产品加入白名单中,然后调用LayaPlayer运行器的启动参数,即可实现加速。 直接在嵌入LayaPlayer的APP中采用网址方式访问...
来源: Laya_社区 发布时间: 20151028
...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。 isAncestorOf isAncestorOf(node: Node): boolean Inherit...
来源: Laya3.0_api 发布时间: 20231115
...可采用预加载资源方式,避免异步加载资源问题,则无需注册事件。 for (var i = 0; i < meshSprite.meshRender.sharedMaterials.length; i++) { var mat = meshSprite.meshRender.sharedMaterials[i]; var transformUV = new Laya.TransformUV(); transformUV.tiling = uvScale; (shaderNa...
来源: Laya_社区 发布时间: 20170707
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 isAncestorOf isAncestorOf(node: Node): boolean Inherit...
来源: Laya3.0_api 发布时间: 20231115
...ort class TestBluePrint extends Laya.Script { } 需要注意的是,只有注册了构造函数,才可以在蓝图编辑器的createNew中创建这个类的实例,如图12-1所示。 const { bpClass } = BP; @bpClass({ name: "TestBluePrint", canInherited: true, extends: "Script", construct: { pa...
来源: Laya3.0_文档 发布时间: 20251010
...2018年至今从事小游戏开发(LAYA引擎) 在小游戏领域单品注册用户超过600万的有4款 参与过的作品: 《怪物逃X》《空中飞X》《水枪奇X》 《滑板冲冲X》《蛋糕飞X》《纠结大X》等 我从0开始接触LAYA到游戏上线 亲身爬过了很多坑也...
来源: Laya_社区 发布时间: 20190227