大约有 488 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0044 秒)
...享 微博 QZONE 微信 apeCom 赞同来自: var Loading_fly = function (_super) { function Loading_fly() { Loading_fly.super(this); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfi...
来源: Laya_社区 发布时间: 20171107
...的继承的示范: ```javascript var HttpRequestExtension = (function (_super) { function HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (ur...
来源: Laya2.0_文档 发布时间: 20210714
...滑动旋转脚本 function ObjectRotate() { ObjectRotate.super(this);//这里不太清楚作用 //最终鼠标在X轴上的值 this.lastMouseX = NaN; //最终鼠标在Y轴上的值 this.lastMouseY = NaN; ...
来源: Laya_社区 发布时间: 20170810
...veScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OUT, this, mouseOut); var camera:BaseCamera = owner.scene.currentCamera; 没...
来源: Laya_社区 发布时间: 20170218
...startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log(this.parent); console.log(this.name); } }这个同样是null export default cla...
来源: Laya_社区 发布时间: 20190904
...ned 问题状态 最新活动: 2017-04-26 15:11 浏览: 2464 关注: 2 人 super1013 • 2018-01-03 15:58 直接调是怎么调 Jerry • 2018-06-20 17:09 @super1013: 需要解决的问题就是要让ts能识别js中的符号,为此,需要为你js中的符号写ts申明,也就是d.ts
来源: Laya_社区 发布时间: 20170426
...官方代码? 例如:官方脚本CameraMoveScript.js CameraMoveScript.super(this);这句什么意思?super这东西哪来的?我要怎么查到它的用法? this.lastMouseX = NaN;为什么用this,而不是var lastMouseX = NaN; CameraMoveScript.prototype._update = function (state){...}像...
来源: Laya_社区 发布时间: 20170315
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 super1013 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? unity导出粒子文件问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名...
来源: Laya_社区 发布时间: 20180202
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 super1013 相关问题 请问LayaAir中如何使图片以圆形的方式显示? laya针对页游耗用内存大的问题是如何解决的? 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示? 加...
来源: Laya_社区 发布时间: 20180105
...要写一个工具类进行一些逻辑的处理 var Load_ = (function (_super) { function Load_() { Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的...
来源: Laya_社区 发布时间: 20180705