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

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

2251. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 42%]

...mer 访问。 */ class Timer { private static _pool; /** 时针缩放。*/ scale: number; /** 当前时间。*/ currTimer: number; /** 当前的帧数。*/ currFrame: number; /** *两帧之间的时间间隔,单位毫秒。 */ delta: number; /** * 创建 <code>Timer</code> 类的一个...

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

2252. 鼠标交互-拖动 [ 42%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(ApePath, Handler.create(this, this.setup)); } setup() { this.createApe(); this.showDragRegion(); } createApe() { const Sprite = La...

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

2253. Unity插件导出带蒙皮数据的模型,laya里加载抛出异常 [ 42%]

...粒子特效 laya插件有问题? 模型资源释放问题 修改stage的scale后,会发生异常情况 3d 添加灯光 模型变的黑呼呼的 很多黑面 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 请问有人遇到oppo小游戏字体...

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

2254. laya.device.media.Video_API3.0 [ 42%]

...InStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRate preload readyState rotation scaleX scaleY scene scrollRect seekable se...

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

2255. laya打包APK无法进入游戏 [ 42%]

...otobuff框架的游戏demo(TS版本或AS版本的) 3D模型无法修改scale? dialog 自定义关闭效果,效果执行完,弹窗无法关闭 关于发布oppo、vivo快游戏,无法生成Rpk问题 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2020-10-22 1...

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

2256. 加载.lh文件 运行后黑屏 无法显示 [ 41%]

...= new Laya.Vector3(0, 1, 0);         Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         Laya.Stat.show();     //var resource = [{url: "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", type: Laya3D.HIERARCHY,...

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

2257. 有关Laya3D碰撞检测疑问 [ 41%]

...ate label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show();  var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene;  this._outHitAllInfo = new Array<Laya.Ray...

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

2258. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 41%]

...件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 请问在layaIDE里,怎么调用微信小程序API 微信小游戏:HTMLDivElement的使用 Laya中的宏编译要怎么用啊 分享:适配L...

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

2259. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 41%]

...it(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); console.log("debuginfo LayaAir3D constructer start loadres url:", this._sceneURl); Laya.loade...

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

2260. laya.ui.WXOpenDataViewer_API3.0 [ 41%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache tag texture tim...

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