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

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

1991. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 51%]

... default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){ console.log("ShowMsg"); this.showMsgFunc && this.showMsgFunc(); } } ``` 在加...

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

1992. laya.utils.PerformancePlugin_API3.0 [ 51%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Performance" PerformancePlugin Class PerformancePlugin Hierarchy PerformancePlugin Index Properties PERFORMANCE_LAYA PERFORMANCE_LAYA_2D P...

来源: Laya3.0_api 发布时间: 20231102

1993. 使用了destroy()之后,还需要手动移除侦听事件和引用吗? [ 51%]

...应的是一个image。我需要手动将img属性置null吗? 比如:public destroy(){ super.destroy(); this.img = null; } 这个有必要吗? 最后,有没有关于优化的比较系统的文档,https://ldc.layabox.com/doc/?nav=zh-js-3-2-1和https://ldc.layabox.com/doc/?nav=zh-js-3-2-1这...

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

1994. .part的文件怎么获取模板里配置的duration [ 51%]

...duration属性    /**粒子持续时间(单位:秒)*/         public var duration:Number = 1; 你在ide 写一下点进去看源码就知道了 2018-03-03 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****826 相关问...

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

1995. 保存数据的数组在回调的时候变为undifine [ 51%]

...组。这时候回调的时候面板中保存数据的数组变为undifine public function update():void { Utils.removeAll(panelHeroInfo); var heros:Array = GameMain.mainModel.heros.Heros; //获取 MainModel里的武将信息 var leng:int = heros.length; var item:HeroResolveItem; var heroInfo:SHeroI...

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

1996. 新手学layabox的疑问,关于api文档 [ 51%]

...en • 2018-03-16 16:10 api文档是否有问题,点击【Show Inherited Public Methods】没有反应,有些方法在文档中也没有看到 Laya_Aaron • 2018-03-16 16:13 在引擎中 写这些东西就能点进去看源码 ,这些是源码的注释

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

1997. 内嵌模式创建scene,运行时报找不到json文件 [ 51%]

...的代码。     export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"lo...

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

1998. 混合模式-Lighter [ 51%]

...port laya.utils.Handler; import laya.utils.Tween; import laya.webgl.WebGL; public class BlendMode_Lighter { // 一只凤凰的分辨率是550 * 400 private const phoenixWidth:int = 550; private const phoenixHeight:int = 400; private var bgColorTweener:Tween = new Tween(); private var gradientInterva...

来源: Laya2.0_示例 发布时间: 20260106

1999. laya.physics.joint.WeldJoint_API3.0 [ 51%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限...

来源: Laya3.0_api 发布时间: 20231115

2000. laya的透视相机有没有“深度”这个属性?类似U3D相机的depth属性 [ 51%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: public function set renderingOrder(value:int):void   数字小的先画,大的后画 2018-06-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 linzhaojie 相关...

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