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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0063 秒)

211. layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 [ 89%]

layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 Laya.stage.on(Laya.Event.FRAME,this.onEnterFrame); onEnterFrame() { t++; console.log("t="+t); } 希望每帧 t+1.然后显示 2018-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

212. laya.display.Node [ 89%]

...| All Classes | Index | Frames No Frames NodeProperties | Methods | Events Packagelaya.displayClasspublic class NodeInheritanceNode EventDispatcher ObjectSubclasses ComponentNode, Sprite Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显...

来源: laya_api 发布时间: 20170929

213. 骨骼动画播放完后的回调时间 [ 89%]

... 骨骼动画循环播放中,每个动作播放结束后 是触发哪个EVENT类型 进行回调? 2016-10-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 leeq3000 赞同来自: howartin 、fighter12345 监...

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

214. Dispather.event参数传的是数组,为什么收到的参数却是个int类型? [ 89%]

Dispather.event参数传的是数组,为什么收到的参数却是个int类型? AppDispather.instance.event("test", [1,2]); 我自己有个单例事件派发,参数是 [1,2],但我接收的函数参数却只是一个value=1的int值,这是引擎bug吗? 2016-12-10 添加评论 免费帖...

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

215. laya.resource.Resource_API3.0 [ 89%]

...ce/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D TextResource AnimationTemplet ...

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

216. laya.physics.Physics_API3.0 [ 89%]

...hysics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations world PIXEL_RATIO Accessors allowSleeping gravity worldRoot I Methods event getBodyCount getContactCount getJointCo...

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

217. Laya的on(Laya.Event.Click)无法打开新窗口 [ 89%]

Laya的on(Laya.Event.Click)无法打开新窗口 一个控件使用on(Laya.Event.Click)监听时,无法在监听函数中使用window.open,会被拦截,有没有什么比较好的办法解决呢? 2017-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

218. 关于安卓APK打包问题 报错 [ 89%]

... 2017-03-01 0 0 分享 微博 QZONE 微信 huangweixuan 赞同来自:  $.Event = function(type, props) {     if (!isString(type)) props = type, type = props.type     var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true     if (props) for (var name in props) (name ...

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

219. laya.d3.animation.AnimationClip_API3.0 [ 89%]

...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources load Constructors constructor new AnimationClip(): AnimationClip Overrides Resource.__constructor Defined in laya...

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

220. 两个问题都关于LayaAir的ios真机 [ 89%]

...有个变暗的效果 statenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false &...

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