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

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

941. MovieClip报错 [ 47%]

...game_plugin_init(3); 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 本地调试加载本地图片都报错 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-...

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

942. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 47%]

....onAwake (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/src/script/QCarMode.js:31:30) at QCarMode.__proto._onAwake (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.core.js:17369:9) at QCarMode.__proto._setActive (/Users/tuyoo/client5/work/Laya_work/FlipRush/...

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

943. prop 识别不到 [ 47%]

...时也不通过   代码: export default class Index extends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完...

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

944. layacmd mac 系统安装不上,急 [ 47%]

...! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.8.6 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /var/root/.npm/_logs/2018-05-08T04_07_13_726Z-debug.log ...

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

945. 物体随着鼠标滑动旋转脚本 [ 47%]

...    this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script);  //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) {     var _this = this;     ObjectRotate.__super.prototype._initialize.call(this,owner);       //在this(调...

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

946. QQ玩一玩 获取头像后的数据是 BK.Buffer,需要如何用laya的Image显示出来? [ 47%]

...fInfo.buffer; var width = BuffInfo.width; var height = BuffInfo.height; BK.Script.log(0,0,"headeBuff :"+ openId + " buff:"+ buff + " width:"+ width +" height:"+height); var tex = new BK.Texture(buff,width,height); var sp =new BK.Sprite(200,200,tex,0,1,1,1); BK.Director.root.addChild(sp); }else if(op...

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

947. js飞机大战报错 请大神看看 [ 47%]

...动态合批报错. 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 20...

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

948. 关于TS环境下的第三方库导入的疑问 [ 47%]

... install autobahn | npm install autobahn-browser 在bin/index.html下使用script标签导入,使用JS和TS两个版本都能成功 但是TS的方式下没有代码提示,于是尝试通过typings加入d.ts,希望能出现代码提示 在project_root/libs下添加对应的ts文件,通过以...

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

949. 物理碰撞脚本和触发器脚本(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 47%]

...器发出的事件,开发者可以在触发器物体上添加的脚本(Script3D)监听。监听的方法如图1所示: ![](img/1.png)(图1) 碰撞器也是会派发事件的。监听方法如下图2: ![](img/2.png)(图2) 下面我们来看下具体如何使用这些接口,本次代码节...

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

950. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 47%]

...libs 文件夹后, 微信开发者工具直接报错: VM125:1 gameThirdScriptError module "libs/laya.wxmini.js" is not defined Error: module "libs/laya.wxmini.js" is not defined at require (http://127.0.0.1:43425/game/__ ... :13569) at http://127.0.0.1:43425/game/__ ... 13424...

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