大约有 253 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
...个节点并清楚资源,为什么要用这个接口? 用removeChild或removeSelf这些,只从场景树下删除节点不好吗? 如果使用了预加载,为什么还需要监听这些事件?有什么特殊需求吗? 2017-06-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20170619
...怎么做?如果没有的话又该如何做呢? 3、destroy销毁 和 removeSelf删除 有什么区别?什么时候该用哪一个? 4、在飞机大战实例教程中,有Laya.Pool对象,但是在API文档中却只能找到laya.utils.Pool,那么Laya.Pool又是从哪里来的?难道是...
来源: Laya_社区 发布时间: 20161031
...emoveChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionProbe Overrides Sprite3D.constructor Defined in laya/d3/core/reflectionProbe/Re...
来源: Laya3.0_api 发布时间: 20231102
...alue() { if (progressBar.value >= 1){ progressBar.value = 0; Laya.stage.removeSelf(); //将登录页面从内存销毁 // Laya.stage.destroy(); Laya.stage.addChild(new gamelistUI()); } progressBar.value += 0.05; // this.removeSelf(); // } // function onChange(value) // { // if(value>=100){ // ...
来源: Laya_社区 发布时间: 20171230
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSprite(): LightSprite Overrides Sprite3D.constructor Defined in laya/d3/core/light/LightSprite.ts:135 ...
来源: Laya3.0_api 发布时间: 20231115
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLight(): PointLight Overrides LightSprite.constructor Defined in laya/d3/core/light/PointLight.ts:24 ...
来源: Laya3.0_api 发布时间: 20231115
...列表下的显示、数据和资源一并移除。 sp.destroy(true); sp.removeSelf(); sp=null; Loader.clearRes(url,true); 2017-01-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 laya5652 相关问题 laya2的Scene默认是文件...
来源: Laya_社区 发布时间: 20170103
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new RenderableSprite3D(name: string): RenderableSprite3D Overrides Sprite3D.constructor Defined in laya/d3/core/...
来源: Laya3.0_api 发布时间: 20231115
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.constructor Defined in laya/d3/core/light/SpotLight.ts:34 创...
来源: Laya3.0_api 发布时间: 20231115
...emoveChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce createFromMesh createFromMeshAndHeightMap instantiate load Constructors constructor new MeshTerrainSprite3D(mesh: Mesh, heightMap: HeightMap, name?: strin...
来源: Laya3.0_api 发布时间: 20231102