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

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

121. 请问Laya2.0的3d模型有批处理功能吗? [ 57%]

...,材质也相同,但是运行起来一个模型就会产生一个drall call,我现在想给这些模型进行批处理。看官方文档没有详细说明这一块,官方大大有什么建议吗?或者指明一个方向,我想试试,谢谢了! 2019-04-24 添加评论 免费帖 --> ...

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

122. 如何调用父类get、set方法? [ 57%]

...接 提交 4 个回复 ymsdandan 赞同来自: 你试下LoginView.__super.call(this)   ,   注意,是2个下划线 2017-11-08 0 3 分享 微博 QZONE 微信 caochangli 赞同来自: 官方没人回复下吗? 2017-11-08 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你把这个替换...

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

123. 引擎这一句是不是疏忽了? [ 57%]

...     if (rigidBody==null)             throw "Attempted to call a Physics function that is avaliable only when the Entity has been already added to the Scene.";         rigidBody.clearForces();         var nativeZero=Rigidbody3D._nativeVector3Zero;         rig...

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

124. 调用微信接口登录的项目 如何用代码退出整个项目? [ 57%]

...的 183*****288 • 2018-06-12 16:38 @夏天:__JS__("WeixinJSBridge.call('closeWindow');") 这是as项目中如何退出

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

125. BUG:Sprite.event() [ 57%]

...n null; var id=this._id; if (data==null) var result=this.method.apply(this.caller,this.args); else if (!this.args && !data.unshift)result=this.method.call(this.caller,data); else if (this.args)result=this.method.apply(this.caller,this.args.concat(data)); else result=this.method.apply(this.ca...

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

126. 关于js继承类class的参数问题 [ 57%]

...uper){      *     function Item(){      *         Item.__super.call(this);//初始化父类      *         this.graphics.drawRect(0, 0, 100, 20, "#ff0000");      *         var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。      *       ...

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

127. LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, [ 57%]

...回复 HumbleDust 赞同来自: Nikeo 、Chiuan ios的js调用oc需要在call里的方法名字符串后加冒号,有时候忘记 2019-09-27 2 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 HumbleDust 相关问题 发起问题须知,...

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

128. 脚本继承的问题 [ 56%]

... 2018-08-01 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 就是call未定义,需要加断点,一点点查。 2018-08-01 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 浪尖儿 相关问题 发起...

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

129. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 56%]

...){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI.prototype; var Mole=(function(){ function Mole(btn_start){ alert(1) }; })() 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

130. 这个写法是什么意思,能否解释一下,谢谢 [ 56%]

...= null;         //初始化父类         BackGround.__super.call(this);         this.init();     }     //注册类 BackGround     Laya.class(BackGround, "BackGround", laya.display.Sprite);   问题: 1.Laya.class(BackGround, "BackGround", laya.display.Sprite); 这种...

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