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

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

731. laya.ui.Radio [ 73%]

... All Classes | Index | Frames No Frames RadioProperties | Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio ...

来源: laya_api 发布时间: 20170929

732. laya.ui.ProgressBar [ 73%]

...Classes | Index | Frames No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar Component Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show I...

来源: laya_api 发布时间: 20170929

733. 取消监听鼠标移动事件,取消不了 [ 73%]

取消监听鼠标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博...

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

734. unity导出模型在laya加载报错 [ 73%]

.../h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.d3.js:17775:10)   at EventHandler.__proto.runWith (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:1410:41)   at Loader.__proto.event (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:...

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

735. 手机调试时http请求错误,返回Request failed Status:0 [ 73%]

...段: let hr = new Laya.HttpRequest(); hr.http.timeout = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event...

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

736. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 73%]

...出来 function onLoaded() { start = new GameStartUI(); start.btn_start.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(start); } function gameInit() { map = new GameBgUI(); Laya.stage.addChild(map); play = new GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200...

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

737. 事件函数作用域问题 [ 72%]

事件函数作用域问题 1. this.btn_Login.on(Laya.Event.CLICK, null, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个...

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

738. drawTextures触发的drawCall的次数 [ 72%]

...理碰撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug Event触发不了 Laya3d球星添加了刚体,但是碰撞无法触发onTriggerEnter的问题,120元有偿悬赏解答 ios中没有触发事件前使用playSound没有声音 Event.CLOSE不触发 Laya2.0 的3D射线检测...

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

739. 获取鼠标当前状态 [ 72%]

...: 与内容相关的链接 提交 1 个回复 leisure 赞同来自: Laya.Event.MOUSE_OUT 完全解决这个问题啊 2018-02-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 laya2902 相关问题 请问有没有方法能够获取“鼠...

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

740. unity 带出报错~ArgumentException: Invalid path [ 72%]

...ockArea.cs:341) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:298) UnityEngine.UIElements.IMG...

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