大约有 452 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
...et Laya中的宏编译要怎么用啊 TextInput重写onFocus和onBlur事件监听不到 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 图集打包找不到图集文件 iphoneX环境下新手引导的抠图透明区域为黑色,其它...
来源: Laya_社区 发布时间: 20170327
...aya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ //监听有没有地板要移除 while(this.dieFloorList.lenght > 0){ var floor = this.dieFloorList.shift(); floor.removeSelf(); } } /** * 增加地板 */ _proto.addFloor = function(){ var floor = new Floor(); floor.init(); ...
来源: Laya_社区 发布时间: 20160728
...会挨个组件调用碰撞函数 组件要响应碰撞的话,要通过监听事件 Returns void rayCast rayCast(ray: Ray, outHitResult?: CannonHitResult, distance?: number, collisonGroup?: number, collisionMask?: number): boolean Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:341 射...
来源: Laya3.0_api 发布时间: 20231102
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 E...
来源: laya_api 发布时间: 20170929
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 E...
来源: laya_api 发布时间: 20170929
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513
...18-02-26 0 0 分享 微博 QZONE 微信 Luren_yi 赞同来自: 建议使用监听Down Move Up 三个事件,打飞机事例 2018-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiahaijiao 相关问题 Dialog:屏蔽点击Dialog之...
来源: Laya_社区 发布时间: 20180226
...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...
来源: Laya2.0_api 发布时间: 20190513