• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 338 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)

91. 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! [ 52%]

...his.speed; if (this.obstacle0.y > Laya.Browser.height) { this.obstacle0.removeSelf(); } }); } 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 189*****192 赞同来自: 鹳厶  if (this.obstacle0.y &g...

来源: Laya_社区 发布时间: 20180823

92. laya.d3.core.light.PointLight_API3.0 [ 52%]

...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

93. laya.d3.core.BaseCamera_API3.0 [ 52%]

...ers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce __init__ instantiate load Constructors constructor new BaseCamera(nearPlane?: number, farPlane?: number): BaseCamera Override...

来源: Laya3.0_api 发布时间: 20231115

94. laya.d3.core.light.SpotLight_API3.0 [ 52%]

...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

95. laya.d3.core.RenderableSprite3D_API3.0 [ 51%]

...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

96. 在入口文件LayaSample.js中引入了自己制作的第一个UI界面AlarmPageUI,之后点击该界面的列表怎么切换场景到AlarmSetPageUI? [ 51%]

...onica - 知识达人 赞同来自: 建议你看下Node的API吧 addChild和removeSelf 2017-11-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 candy 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个...

来源: Laya_社区 发布时间: 20171124

97. autoDestroyAtRemoved不管为啥值 ,关闭以后,再添加到场景,会重复执行构造函数 [ 51%]

...执行构造函数 autoDestroyAtRemoved不管为啥值 ,不管是通过removeSelf还是Laya.View.Close,再通过Laya.View.open的时候,挂在身上的组件脚本都会重新执行构造函数constructor, 正常不是应该我autoDestroyAtRemoved = false的时候,如果只是remove不是d...

来源: Laya_社区 发布时间: 20211012

98. 同步龙骨插槽动画方案 [ 51%]

...vent.COMPLETE, this, this.parseComplete);         this.mArmature.removeSelf();//从显示列表移除龙骨动画本身         this.mArmature.removeChildren();//从显示列表移除龙骨动画子对象         if (!this.mArmature.destroyed) {             th...

来源: Laya_社区 发布时间: 20200618

99. 高级应用-寻路导航 [ 51%]

... this.scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.removeSelf(); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); camera.sky = skyBox; //根据场景中方块生成路径点 initPath(this.scene); //...

来源: Laya_示例 发布时间: 20251130

100. sprite.mask的疑问 [ 51%]

...hildAt(0).getChildAt(0).getChildByName("B") as Sprite;         b.removeSelf();         a.mask = b;     } 2020-08-14 0 2 分享 微博 QZONE 微信 Laya_XS 赞同来自: 只显示B这个叫遮罩,比如这个地址的效果:https://layaair2.ldc2.layabox.com/demo2/?language...

来源: Laya_社区 发布时间: 20200813