大约有 488 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0035 秒)
_super本质是实现什么的?为什么要用super laya代码里的super 2016-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: super是执行父类构造函数,在layaAir下,...
来源: Laya_社区 发布时间: 20160803
BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...
来源: Laya_社区 发布时间: 20180110
LayaAir引擎 关于super的getter和setter public set skin(val:string){ super } 请问一下getset的重载super怎么调用 求大神指点一下 2017-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20171030
关于super的疑惑 自从使用Laya以来按照教程使用固定格式,在构造函数里.super(this),说是调用父类的构造方法,搜了一下引擎的core.js,没有找到关于这个方法的实现,百度了一下这个super应该是一个关键字吧 Laya怎么做到的 2017-09...
来源: Laya_社区 发布时间: 20170901
Uncaught TypeError: Game.super is not a function var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20171012
LoginView.super(this);这样调用的父类的构造函数的方法,不能用吗 LoginView.super(this);这是在教学视频里用的方法,好像不能用了。 这些layaair中特别的语法规则在哪里统一可以找到 var LoginView = function () { LoginView.super(this); t...
来源: Laya_社区 发布时间: 20170317
有关继承类的问题 //建筑类 var Building = (function (_super){ function Building(params) { Building.super(this); } Laya.class(Building,"Building",_super); return Building; })(Laya.Sprite) //床 var Bed = (function (_super){ function Bed(params) { Bed.super(this); } Laya.class(Bed,"Bed",...
来源: Laya_社区 发布时间: 20171106
layabox js中 的__super,call()是什么意思 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: _super是执行父类的调用 call是回调方法执行 2017-02-22 0 0 分享 微博...
来源: Laya_社区 发布时间: 20170222
EffectAnimation __super undefined 调试运行报错如上图,之前一直正常,不知什么操作造成的这个问题。 版本1.7.12 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20171225
ts编译为js后 var AudioCommand = (function(_super) { function AudioCommand() { AudioCommand.__super.call(this); } __class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1.AudioCommand.__super.call(this); 2.__class(AudioCommand, 'model.resource.audio.controller.AudioComman...
来源: Laya_社区 发布时间: 20180313