大约有 703 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(290) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(9) Laya2.0_示例(4)
...s.ani_show.play(); if (callback) // 甚至可以加上回调 this.ani_show.once(Laya.Event.COMPLETE, this, ()=>{ callback.run(); }); } ... // 外部访问 ... let puzzleSoldier = soldier.getComponent(PuzzleSoldier) as PuzzleSoldier; puzzleSoldier.attack(); ... 2019-02-15 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190215
...现原来图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但...
来源: Laya_社区 发布时间: 20190109
...某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node getChildAt(index:int):Node 根据子节点...
来源: Laya2.0_api 发布时间: 20190513
...Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表...
来源: Laya2.0_api 发布时间: 20190513
... wjqs:Sprite3D = scene.addChild(Sprite3D.load("fff.lh")) as Sprite3D; wjqs.once(Event.HIERARCHY_LOADED, this, function():void { var aaa:ShurikenParticleSystem = wjqs.getChildAt(0).getChildAt(0).particleSystem; aaa.on(Event.COMPLETE, this, function() { trace("COMPLETE callback!!"); }); }); 2017-0...
来源: Laya_社区 发布时间: 20170512
...No Frames AnimationTransform3DProperties | Methods Packagelaya.d3.animationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By localRotation : QuaternionAnimationTransf...
来源: Laya2.0_api 发布时间: 20190513
...ne hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShaderData setShaderDataByIndex setShade...
来源: Laya3.0_api 发布时间: 20231115
...clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3秒中之后必现黑屏 手机型号: iphone 6s 系统 13.1.3 使用qq浏览器扫码一...
来源: Laya_社区 发布时间: 20191215
...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Properties Hide Inherited Public Properties...
来源: laya_api 发布时间: 20170603
...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class RigidAnimationsInheritanceRigidAnimations KeyframeAnimations Component3D EventDispatcher Object RigidAnimations 类用于创建变换动画组件。 Public Properties Hide Inherited Public Properties Show ...
来源: laya_api 发布时间: 20170929