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

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

41. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 64%]

...+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender); } <em>privateem> function listRender(e:MouseEvent,index:int):void { // TODO Auto Generated method stub if(e.type==MouseEvent.CLICK) { if(index==2) { trace("okla") } } } } } 2015-12-24 0 2 分享 微博 QZONE 微信 为什么被折叠?...

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

42. image组件加载完成调度事件没反应? [ 63%]

... dialog:Image = new Image(picAy[i]); dialog.on(Event.LOADED,this,onLoaded) <em>privateem> function onLoaded(e:*=null):void{ trace(2) } 这代码有什么问题?不调度onLoaded函数,图片显示正常 2016-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

43. 我竟然被射线检测这个小功能给难了一天了 [ 62%]

...oid {     Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } <em>privateem> onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,Laya.stage.mouseY),this.ray) if(this.physics....

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

44. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...ya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @<em>privateem> */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: La...

来源: Laya3.0_文档 发布时间: 20251010

45. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... <em>privateem> model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sp...

来源: Laya3.0_文档 发布时间: 20251010

46. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...停,销毁,清理对象池 export class Particle3D extends Sprite3D { <em>privateem> _isInited: boolean = false; <em>privateem> _filePath: string = null; <em>privateem> _particle: Laya.Sprite = null; <em>privateem> _shuriKenParticle3D: Array&lt;ShuriKenParticle3D&gt;= []; <em>privateem> _shurikenParticleSystem: Array&lt;ShurikenP...

来源: Laya3.0_文档 发布时间: 20251010

47. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 48%]

...停,销毁,清理对象池 export class Particle3D extends Sprite3D { <em>privateem> _isInited: boolean = false; <em>privateem> _filePath: string = null; <em>privateem> _particle: Laya.Sprite = null; <em>privateem> _shuriKenParticle3D: Array&lt;ShuriKenParticle3D&gt;= []; <em>privateem> _shurikenParticleSystem: Array&lt;ShurikenP...

来源: Laya3.0_文档 发布时间: 20250104