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

大约有 1,523 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0068 秒)

561. 怎么集成导入mqtt.js到laya[ 68%]

怎么集成导入mqtt.js到laya中 用的mqant的paho-mqtt.js,通过d.ts调用,导包一直有问题,不知道该如何正确导入到laya中。 2018-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 La...

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

562. 用Loader加载完atlas,然后使用animation播放问题 [ 68%]

...用Loader加载完atlas,然后使用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animati...

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

563. laya.d3.webxr.core.WebXRCamera_API3.0 [ 68%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRCamera" WebXRCamera Class WebXRCamera author miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera...

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

564. qq小游戏网络音效无法重复播放(有复现demo) [ 68%]

qq小游戏网络音效无法重复播放(有复现demo) Mac,laya2.5beta,小程序开发工具v0.1.29beta56  在laya模拟器里运行都播放正常, 发布qq小游戏之后,playSound使用本地url播放也正常, 使用远程http url播放音效,只能播放1次,之后就再...

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

565. 照着官方文档写的 Dialog 报错? [ 68%]

...oadResource.prototype.init = function () { this._container = new Sprite(); Laya.stage.addChild(this._container); Laya.loader.load(["../bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded)); }; LoadResource.prototype.onPreloaded = function () { thi...

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

566. laya.d3.core.light.LightSprite [ 68%]

... No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Pro...

来源: laya_api 发布时间: 20170929

567. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 68%]

...载的DEMO包下载地址: [点击此处下载DEMO包](https://official.layabox.com/laya_data/LayaAir2.0/Chinese/LayaAir_TS/3D/useGLTF/CmShwoDemo.zip) #### 加载模型示例 1. 创建辅助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Load...

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

568. swf版本运行时图片资源不存在报错不清楚的问题 [ 68%]

...即可,报错不清楚 建议修改源码方式(需改两个类): laya.flash.FlashImage public function set src(value:String):void 75行后加入代码 tl.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function ceroor(_ev:IOErrorEvent):void { onerror && onerror(); }); laya...

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

569. laya.particle.Particle2D [ 68%]

...dex | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

来源: laya_api 发布时间: 20170929

570. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 68%]

... Frames ShurikenParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Prope...

来源: laya_api 发布时间: 20170929