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

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

171. 按照视频教程popup为什么没有底层的透明遮盖层啊? [ 57%]

...透明遮盖层的,为什么我的就没有啊? this.btn_login.on(Laya.Event.CLICK,null,()=>{   var aDia:aDialog = new aDialog("登陆");   aDia.popup(true);   Laya.stage.addChild(aDia); })   附件 : --> 2017-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

172. laya.ui.RadioGroup [ 57%]

... Classes | Index | Frames No Frames RadioGroupProperties | Methods | Events Packagelaya.uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次...

来源: laya_api 发布时间: 20170929

173. laya.display.EffectAnimation [ 57%]

...ses | Index | Frames No Frames EffectAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果...

来源: Laya2.0_api 发布时间: 20190513

174. 如何实现3d遮罩效果? [ 56%]

...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite...

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

175. 使用发光滤镜和模糊滤镜一直报错 [ 56%]

...(LearnGlowFilter.ts:15)     at GameUI.onTipClick (GameUI.ts:36)     at EventHandler.__proto.runWith (laya.core.js:1399)     at Label.__proto.event (laya.core.js:1156)     at TouchManager.__proto.sendEvents (laya.core.js:11253)     at TouchManager.__proto.onMouseUp (laya.core.js:11412)   ...

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

176. IDE中自定义组件后,组件XML设置prop,在代码中如何获取(js) [ 55%]

... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 问题状态 最新活动: 2018-04-24 11:07 浏览: 1144 关注: 2 人

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

177. 射线检测-碰撞器混合 [ 54%]

...te3D.addComponent(Laya.Rigidbody); //添加键盘事件 Laya.stage.on(Laya.Event.KEY_DOWN, this, onKeyDown); this.collider = this.scene.getChildByName("Collider"); this.collider.active = false; //是否开启debug模式 Laya.stage.on(Laya.Event.MOUSE_UP, this, drawCollider); } function onKeyDown(e) ...

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

178. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 54%]

...s or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its chi...

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

179. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...prite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 test(e: Laya.Event) { //动画状...

来源: Laya3.0_文档 发布时间: 20251010

180. LAYABOX游戏实时语音之APP版本 [ 53%]

...LoginView extends ui.LoginUI { constructor() { super(); this.login.on(Laya.Event.CLICK, this, this.Loginyim); this.joinroom.on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.MOUSE_UP, this, this.StopReco...

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