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

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

261. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 57%]

...ader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例UI界面 var testView = ui.test.TestPageUI(); Laya.stage.addChild(testView...

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

262. ios 过审被打回 [ 57%]

ios 过审被打回 We noticed that your app or its metadata enables the purchase of content, services, or functionality in the app by means other than the in-app purchase API, which is not appropriate for the App Store. 只接了内购 为啥还有这个问题 框架里还有其他的购买方式...

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

263. 性能测试-卡通人物2 [ 57%]

...t(1280, 720, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Stat.enable(); Laya.stage.loadImage("../../res/cartoon2/background.jpg", 0, 0, 1280, 900); createCharacters(); text = new Text(); text.zOrder = 10000; text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.time...

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

264. 脚本的事件(JavaScript-3D基础(JS)-LayaAir3D的脚本使用) [ 57%]

...后执行,例如被添加到一个激活的对象上或者设置脚本的enabled = true */ onEnable() {} /** * 第一次执行update之前执行,只会执行一次 */ onStart() {} /** * 开始触发时执行 */ onTriggerEnter(other) {} /** * 持续触发时执行 */ onTriggerStay(other) {} /** *...

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

265. 如何判断一个3d模型是否在摄像机视野内 [ 57%]

...2 if(!this.plane._render._visible) { alert("out of Camera") this.enabled = false } 试试这个

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

266. laya.d3.core.particleShuriKen.module.shape.CircleShape [ 57%]

...度。CircleShape  emitFromEdge : Boolean从边缘发射。CircleShape enable : Boolean是否启用。BaseShape  radius : Number发射器半径。CircleShape randomDirection : Boolean随机方向。BaseShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefin...

来源: laya_api 发布时间: 20170929

267. laya.d3.core.particleShuriKen.module.shape.CircleShape [ 57%]

...度。CircleShape  emitFromEdge : Boolean从边缘发射。CircleShape enable : Boolean是否启用。BaseShape  radius : Number发射器半径。CircleShape randomDirection : Boolean随机方向。BaseShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefin...

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

268. 微信不加载version.json [ 57%]

...Version.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this,this.beginLoad)); HI, 各位大大。我们在程序入口添加了上述资源版本控制,并release。 抓包发现,通过微信进入游戏没有请求version.json文件...

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

269. Particle2D destroy黑屏 [ 57%]

...很多警告 WebGL: INVALID_OPERATION: drawElements: no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __proto.flush @ laya.webgl.js:5965 __proto.flush @ laya.core.js:5987 __proto.render @ laya.core.js:18644 __proto._loop @ l...

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

270. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 57%]

...ader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPage...

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