大约有 340 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0047 秒)
Laya_社区(124) Laya3.0_api(79) Laya2.0_api(73) Laya2.0_文档(36) laya_api(18) Laya_示例(6) Laya3.0_文档(4)
...存和内存就会显示成负数 创建动效模板 可能存在bug 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2020-01-11 21:48 浏览: 1528 关注: 5 人
来源: Laya_社区 发布时间: 20191102
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115
...ctorySceneUI { constructor() { super(); } onAwake(){ let btnOnce=this.getChildByName("btnOnce"); btnOnce.on(Laya.Event.CLICK,this,this.onClick); } onClick(e){ this.removeSelf(); let gameScene=new GameScene(); Laya.stage.addChild(gameScene); } } 求大佬教学 2019-09-03 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20190903
...声明、获取: private backBtn: Laya.Button; this.backBtn = this.scene.getChildByName('backBtn') as Laya.Button;但这个Rect就不知道是什么类型的了,试了下Laya.Rect/Laya.Graphics.Rect之类的,都没有这个类。 附件 : --> 2019-10-22 1 条评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20191022
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115
...ncaught TypeError: Cannot set property 'text' of null var txt:Label = cell.getChildByName("listNumber") as Label; txt.text = data.listNumber; 调试时会报:LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null 引擎版本 LayaAirAS3_1.7.7_beta 2017-06-28 添加...
来源: Laya_社区 发布时间: 20170628
...对,建议看看官网示例,附下正确代码 this.role = scene3D.getChildByName("Cube") as Laya.MeshSprite3D; let phy: Laya.PhysicsCollider = this.role.addComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider; let mesh:Laya.Mesh = Laya.loader.getRes("res/Conventional/Library/unity defa...
来源: Laya_社区 发布时间: 20191026
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt re...
来源: Laya3.0_api 发布时间: 20231115
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115
...被折叠 要回复问题请先登录 发起人 ludwig 相关问题 使用getChildByName()无法得到子节点对象 求解:2D项目中加载View,Laya.Scene.load应该如何使用? LayaAir IDE 1.7.15 beta 九宫格在ie11下有缝隙,希望得到关注和解决! 请教:粒子的官...
来源: Laya_社区 发布时间: 20170804