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

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

1051. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 64%]

...子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/ConeShape" ConeShape constructor angle emitType enable length radius randomDirection shapeType angleDEG clone...

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

1052. 寻路导航示例中添加Laya.PathFind组件报异常 [ 64%]

...示例可以跑起来,但放开以下一段代码则因component组件为null提示错误,无法运行: //给terrainSprite添加PathFind组件 var pathFingding: Laya.PathFind = this.terrainSprite.addComponent(Laya.PathFind) as Laya.PathFind;在官网API中找不到PathFind相关API,请问现...

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

1053. laya.d3.core.material.SkyProceduralMaterial [ 64%]

...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url...

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

1054. laya2.7.3 Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 64%]

...") //-----libs-end------- 完整重现代码如下: Laya3D.init(720, 1280, null, Laya.Handler.create(null, () => { Config3D.useCannonPhysics = true; Laya.stage.scaleMode = "fixedwidth"; Laya.stage.screenMode = "none"; Laya.stage.alignV = "top"; Laya.stage.alignH = "left";  let scene = Laya.stage...

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

1055. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 64%]

...; var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1478136071} } function cb_onFail(message) { ale...

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

1056. startDrag问题,提示参数和错误检查不一致,且惯性阻尼无效 [ 64%]

...检查不一致,且惯性阻尼无效 startDrag(dragRegion,true,50,200,null,true,0.2)  有惯性,但是无阻尼  无阻尼! 附件 : --> LayaProject.rar 2023-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个...

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

1057. laya.display.Text_API3.0 [ 64%]

... string): void Defined in laya/display/Text.ts:646 下划线的颜色,为null则使用字体颜色。 Returns string Defined in laya/display/Text.ts:650 下划线的颜色,为null则使用字体颜色。 Parameters value: string Returns void url get url(): string set url(path: string): void Inhe...

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

1058. ToolTip鼠标悬停的使用 [ 64%]

...fcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this._testTip=new TestTipsUI();//务必在Laya.init后去new实例,不可直接在全局变量处实例化 //切记,无论何种鼠标提示方式,务必要先实...

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

1059. 微信小游戏 关系链数据上屏绘制问题 [ 64%]

...正常   VM291:1 gameThirdScriptError Cannot set property '__proto__' of null TypeError: Cannot set property '__proto__' of null     at HTMLCanvasElement.n.getContext (http://127.0.0.1:56214/game/__ ... :23503)     at http://127.0.0.1:56214/game/game.js:7:18     at require (http://127.0.0.1:5...

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

1060. 部分IOS机型在加载mp3音频文件时出错,资源加载异常 [ 64%]

...er.load(resArray, Laya.Handler.create(this, () => { this.OnLoaded() }), null, Laya.Loader.ATLAS);     }在IOS部分机型,如苹果8上,会出现资源加载出错,截图如附件一所示。 Load(): void {         var resArray: Array<any> = [             { url...

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