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

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

2321. laya.media.SoundChannel [ 49%]

...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...

来源: laya_api 发布时间: 20170929

2322. LAYA转换后,MovieClip的gotoAndStop方法会使子MovieClip偶尔显示不出图片 [ 49%]

...倒没试过,我是用LOADER加载的,加载完后执行this.addChild(event.target.loader); jiahuafu • 2016-07-19 10:37 谢谢!另外一个游戏我去试下 jiahuafu • 2016-07-22 10:03 preSwfAssets这方法管用,哈哈,请问这个原理是什么? cuixueying • 2016-07-22 12:22 ...

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

2323. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 49%]

... at GamePagePlayer.Utils.fitDOMElementInArea (laya.core.js:10340)     at EventHandler.__proto.run (laya.core.js:710)     at Stage.__proto.event (laya.core.js:499)     at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

2324. 高级应用-实时阴影 [ 49%]

...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private var _quaternion:Quaternion = new Quaternion(); private var scen...

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

2325. LayaAirUnityPlugin 2.4beta IOException: Sharing violation [ 49%]

...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_社区 发布时间: 20200109

2326. bug,ChainCollider.points第二次设置,会报错! [ 49%]

...码,改写的,点击2次场景就会报错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.cre...

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

2327. stage.height获取高度有bug吗 [ 49%]

... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 1.7.20beta有bug,帧属性面板打不开 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 如何获取一个3D模型的长宽高? La...

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

2328. socket收到服务器的数据如何解析成proto对象? [ 49%]

...t收到服务器的数据如何解析成proto对象? 如题。是把Laya.Event.MESSAGE处理函数的参数用writeArrayBuffer()写入Laya.Byte对象吗?然后Laya.Byte的对象如何解析成某个proto类对象? 而且如果是像官方例子那样动态解析.proto文件,速度慢就先...

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

2329. laya.device.motion.Accelerator [ 49%]

...ckagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationInclu...

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

2330. GlowFilter和TimeLine/Tween一起用的问题 [ 49%]

... t.to(glowFilter, {blur: 1}, 200, null, 0);         }         t.on(Event.COMPLETE, this, function(){             sp.filters = null;         });         t.play(0, true);     };   (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...

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