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

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

1021. 3D中的Animator如何从指定的某一帧开始播放动画 [ 66%]

...); animator.addClip(totalAnimationClip,"runShoot",startFrame); animator.on(Event.STOPPED, this, this.removeClip); animator.on(Event.COMPLETE, this, this.removeClip); animator.play("runShoot"); 2018-07-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个要在unity 里面进行切片,...

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

1022. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 66%]

...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...

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

1023. laya.d3.core.pixelLine.PixelLineSprite3D [ 66%]

...s | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类用于像素线渲染精灵。 Public Propertie...

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

1024. 关于遍历产生的sprite的点击事件,急,大神帮看哈 [ 66%]

...for遍历下对sp进行CLICK的监听即可,sp.size(xxx,xxx);sp.on(Event.CLICK,this,onSpClick) 3、点击sp时,直接获取sp.index值即可(e.target.index)! 2017-02-21 1 0 分享 微博 QZONE 微信 lift6220819 赞同来自: q395212409 Laya.init(640,1010); Laya.stage.scaleMode = Laya....

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

1025. 微信开发工具编译报错 [ 66%]

...看看怎么回事? VM168:1 gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anon...

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

1026. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 66%]

...this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); }   //btn 有宽高 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

1027. 绘制形状时事件不触发 [ 66%]

...e.graphics.drawCircle(x, y, r1, color1, color1, 0);     function on_down(event) {         console.log("_____ kbRing2\n");     } } function laya_test() {     Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL);     var ring = new myRing(600, 300, 18, "#087729", 40,...

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

1028. unity 新建场景,预览报错。 [ 66%]

...0) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.Handl...

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

1029. laya.d3.core.MeshTerrainSprite3D [ 66%]

...| Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用于创建网格。 Public Properties...

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

1030. 单机游戏如何监听网络是否连接 [ 66%]

...了不进行消息通信,当网断的时候是不是会触发 socket.on(Event.CLOSE, this, onSocketClose);在onSocketClose函数里处理执行逻辑对吧? 问题二:因为对H5不是很了解,想问问有没有像APP一样,直接关闭的语句,比如NativeApplication.nativeApplication...

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