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

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

711. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 64%]

..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...

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

712. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 64%]

..., laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我们看到 图片加载了 而且...

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

713. IOS 二次开发 callbackToJSWithClass, JS没有收到OC的回调 [ 64%]

... GRIPMgr = Laya.PlatformClass.createClass("AppUtil"); GRIPMgr.callWithBack(function(n):void{alert(n)},"getDeviceIDInKeychain");   [size=14]IOS代码:[/size]  +(void)getDeviceIDInKeychain { [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"getDeviceIDInKeychain:" re...

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

714. 性能测试-虫子(慎入) [ 64%]

... []; private var wrapBounds:Rectangle; private var maggotTexture:*; public function PerformanceTest_Maggots() { Laya.init(Browser.width,Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.heigh...

来源: Laya2.0_示例 发布时间: 20260819

715. LayaAir DebugPanel 调试工具(ActionScript-2D进阶篇(AS3)-调试相关) [ 64%]

...a.debug.DebugPanel; import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //调用DebugPanel调试面板 Laya.enableDebugPanel(); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; var Img:Sprite = new Sprite(); //添加到舞台 Laya.st...

来源: Laya2.0_文档 发布时间: 20210714

716. FB配置 layaAir 后报错:对 exec的引用有歧义 [ 64%]

...持的标签</SCRIPT> 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2017-10-10 11:04 浏览: 3912 关注: 4 人 沧海一粟 • 2017-09-18 16:35 错误解决了,但是出现了好...

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

717. 2D物理-碰撞事件与传感器 [ 64%]

...r; private var bodys: Array = []; private var touching: Array = []; public function Physics_CollisionEvent() { Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); PhysicsDebugDraw.enable(); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...

来源: Laya2.0_示例 发布时间: 20260819

718. laya升级到2.0.0beat4版本,加载场景出现的bug [ 64%]

... Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/TestH5Project/TestFeiChe3D/bin/libs/laya.core.js:13235:9) 2018-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

719. 安卓手机输入不了中文 [ 64%]

...方法是每次都重新创建 源码: input.as         private function _setInputMethod():void {             input.parentElement && (inputContainer.removeChild(input));             area.parentElement && (inputContainer.removeChild(area));      ...

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

720. 1.8.4版本运行oppo小游戏,Laya.URL.customFormat导致无法读取资源 [ 64%]

...无法读取。。。 如附件里,只要注掉 Laya.URL.customFormat = function (url) {     return url + "?ver=123"; } 就能显示图片了。 附件 : --> layaTestNew4.zip 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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