大约有 401 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya3.0_api(152) Laya2.0_api(96) Laya_社区(76) laya_api(62) Laya2.0_文档(9) Laya3.0_文档(5) Laya2.0_示例(1)
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,...
来源: laya_api 发布时间: 20170929
...ying 赞同来自: input的触发次数等于你输入的字符数,或者删除的字符数的个数,并不会一上来就会触发多次的! 2017-05-15 0 0 分享 微博 QZONE 微信 archerxy 赞同来自: 测试很简单,拖一个inputText,中英输入法分别输入数字试试 结果...
来源: Laya_社区 发布时间: 20170515
...在编写游戏逻辑时,有的模型需要被修改,或者是切换与删除模型、或者是给模型加组件、或者是获取模型上的动画组件及修改模型的材质等。这都需要从加载的模型中去获取子对象,我们可以通过 **getChildAt()、getChildByName()** ...
来源: Laya2.0_文档 发布时间: 20210714
...r offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = nul...
来源: Laya2.0_api 发布时间: 20190513
...Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispa...
来源: Laya3.0_api 发布时间: 20231115
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...
来源: Laya2.0_api 发布时间: 20190513
...utHitResult); //如果碰撞到物体 if (this.outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "碰撞到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...utHitResult); //如果碰撞到物体 if (this.outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "碰撞到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
... 2 个回复 赞同来自: 你想干什么 是想管理图片批量删除还是怎么的 2018-09-19 0 1 分享 微博 QZONE 微信 赞同来自: 参考一下看看对你有没有帮助https://ask.layabox.com/question/1058 https://ask.layabox.com/question/8833 2018-09-19 0 1 分享 微...
来源: Laya_社区 发布时间: 20180919
...Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispa...
来源: Laya3.0_api 发布时间: 20231115