大约有 3,043 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
Laya_社区(2864) Laya2.0_文档(72) Laya3.0_文档(43) Laya3.0_api(24) Laya2.0_api(15) Laya_示例(11) laya_api(7) Laya2.0_示例(7)
gameThirdScriptError ccs.armatureDataManager.addArmatureFileInfo报错 WAGame.js:3 gameThirdScriptError a.querySelectorAll is not a function;at api request success callback function TypeError: a.querySelectorAll is not a function at Object.addDataFromCache (http://127.0.0.1:64203/game/game.mi...
来源: Laya_社区 发布时间: 20180607
...谢谢! 1.x 没有模块(module)的概念,只有命名空间(namespace),两个关键字都能编译通过,但是没有差别。 所有代码都能直接访问,不需要也没办法使用`require("./xxx")`或者`import * as xxx from "./xxx"`,可以通过使用别名访问:`im...
来源: Laya_社区 发布时间: 20190422
mac安装layanative失败!!! npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! network request to https://npm.taobao.rog/dist/layanative failed, reason: getaddrinfo ENOTFOUND npm.taobao.rog npm.taobao.rog:443 npm ERR! network This is a problem related to network connectivity. npm ERR!...
来源: Laya_社区 发布时间: 20180117
laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 业务场景:在游戏后台使用富文本编辑器插件来更新游戏的公告,前端会获取这个公告的html并赋值给HTMLDivElement进行展示 在laya1.0没...
来源: Laya_社区 发布时间: 20190815
# SubShader介绍 ###### *version :2.7.0beta Update:2020-6-9* **SubShader 子着色器**可以理解为Shader的渲染方案。每个Shader至少1个subShader,可以有多个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMa...
来源: Laya2.0_文档 发布时间: 20210714
Laya2.0构建APP运行闪退,laya.core.js报错 I/LayaBox: alert=出错啦,请把此信息截图给研发商 TypeError: this.nativeInput.setBgColor is not a function http://stand.alone.version/lib ... 2712: TypeError: this.nativeInput.setBgColor is not a function this.nativeInput.setBgColor(val...
来源: Laya_社区 发布时间: 20190227
[LayaAir3]addComponent(Laya.Rigidbody3D); 报错 //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D; console.log(a,typeof(a)) let aa = a.addComponent(Laya.Rigidbod...
来源: Laya_社区 发布时间: 20240102
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix" Matrix Class Matrix Matrix 类表示一个转换矩阵,它确定如何将点从一个坐标空间映射到另一个...
来源: Laya3.0_api 发布时间: 20231115
...微信小游戏播放音效无法连续反复播放 症状:1、使用:Laya.SoundManager.playSound(soundA) 播放A音效 2、此时前一个播放尚未完毕,A音效还在进行中,再次按下按键播放A音效 3、以上第2步的播放不会开始 4、等第1步的音效播放完毕后...
来源: Laya_社区 发布时间: 20180817
# SubShader介绍 ###### *version :2.7.0beta Update:2020-6-9* **SubShader 子着色器**可以理解为Shader的渲染方案。每个Shader至少1个subShader,可以有多个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMa...
来源: Laya2.0_文档 发布时间: 20210715