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

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

461. 动画状态脚本(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 50%]

... import laya.d3.animation.AnimatorStateScript; import laya.display.Text; //继承自AnimatorStateScript(动画状态脚本) class AnimatorStateScriptTest extends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text...

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

462. 如何方便的删除Sprite3D对象,释放其关联资源? [ 50%]

...以后,怎么删除释放资源? 问一下js如何写layabox对象的继承 问题状态 最新活动: 2018-04-08 11:27 浏览: 1484 关注: 2 人 意帅.yisa • 2018-06-22 17:27 官方既然把3D资源的依赖关系都做了, 为什么不把这个"依赖关系"公开给Loader, 或...

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

463. 运行总报TypeError: Object prototype may only be an Object or null: undefined [ 49%]

...y only be an Object or null: undefined 我的例子只是简单的几个类继承,总是报这个异常,找了很久不没找到原因,工程见附件 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymous>) at __extends (file:///C:/Users/Admin...

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

464. <多人PVE游戏大厅>案例——含演示 [ 49%]

...模块,list和text: list的设计个人觉得非常有意思,完全继承了AS3的核心思想。刚开始接触的时候,对list当然头疼,官网的很多关于list资料也是写的不清不楚,只能通过自己慢慢摸索,总结下list:创建好item项,其所有ui都是基...

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

465. Camera.viewportToRay中origin与direction相等问题 [ 49%]

...目前使用的是LayaAir2.0版本做的以下内容. 我在一个脚本里继承了Laya.Script然后写了以下方法: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this._rayPt.y = Laya.MouseManager.instance.mouseY; GameManag...

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

466. 小游戏最大10个并发http请求 希望能把maxloader改成静态 判断也通过静态成员来实现 不然定义了多个loadmanager的情况下不好协调。 [ 49%]

...为个人需求就改。这样别人怎么办,或者你可以写一个类继承引擎库,改用自己的代码类,更新也不影响 demibug • 2018-07-16 21:21 @Laya_Aaron:个人需求。。。OK 那我换个问法,微信小游戏最大HTTP并发是10个,能否告知下LAYA是在哪处...

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

467. 【简单跑酷--JS版】---Lv.6 终篇 [ 49%]

...RunGame.__super.call(this); this.init(); } //RunGame 是一个显示对象 继承此 Sprite Laya.class(RunGame,"RunGame", laya.display.Sprite); //定义RunGame的prototype var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Backgr...

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

468. untiy导出的粒子特效有播放完成的回掉吗? [ 49%]

... 158*****196 赞同来自: 2.0是不是ShurikenParticleSystem已经不是继承自EventDispatcher了。怎么监听事件? 2019-04-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zfree 相关问题 unity导出粒子文件问题 缓...

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

469. laya3d物体碰撞与触发检测的问题 [ 49%]

...内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: 3D物体要继承 Laya.Script3D 而不是 Laya.Script 2019-05-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 176*****404 相关问题 sprite旋转以后,但是原来碰...

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

470. http无响应 [ 49%]

...数据:" + hr.data; } Laya.class(LoginView,"LoginView",_super); //设置继承关系 //初始化函数 LoginView.prototype.init = function () { //监听登录按钮按下事件 this.login.on(Laya.Event.CLICK,this,this.onButtonLogin); //忘记密码 this.wjmm.on(Laya.Event.CLICK,this,this.onLableWj...

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