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

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

641. 脚本的事件(TypeScript-3D基础(TS)-LayaAir3D的脚本使用) [ 75%]

...nMouseOut():void {} /** * 键盘按下时执行 */ public onKeyDown(e:Laya.Event):void {} /** * 键盘产生一个字符时执行 */ public onKeyPress(e:Laya.Event):void {} /** * 键盘抬起时执行 */ public onKeyUp(e:Laya.Event):void {} /** * 每帧更新时执行 */ public onUpdate():void {} /*...

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

642. 在Test中有个按钮点击,那么我如何发信号,使得这个点击能给控制Sample中的对象,如何调用函数 [ 75%]

...你可以通过自定义事件来实现,在点击按钮时,发送一个event自定义事件,在Sample中对该事件进行监听package { import laya.events.EventDispatcher; public class Mod extends EventDispatcher { public function Mod() { super(); } private static var _instance:Mod; public s...

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

643. [LayaNative2]Layadcc:文件内容发生变化后,产生的checkSum内容不变导致无法热更 [ 75%]

...请: 与内容相关的链接 提交 1 个回复 layabox 赞同来自: S_eVent hash碰撞导致,需要在文件尾后再增加一些随机信息 2024-01-08 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 请问2.0...

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

644. UNITY3D导出模型加载错误 [ 75%]

...core.js:12339) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:16030) at EventHandler.__proto.runWith (laya.core.js:687) at Loader.__proto.event (laya.core.js:465) at Loader.__proto.complete (laya.core.js:12141) at Loader.__proto.onLoaded (laya.core.js:12130) at EventHandler.__proto.runWith (laya....

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

645. laya.d3.core.light.PointLight_API3.0 [ 75%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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

646. request failed status:0 text: IOS HttpRequest [ 75%]

...erId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/jso...

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

647. 灯光-点光 [ 75%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); ...

来源: Laya_示例 发布时间: 20251209

648. laya.d3.core.BaseCamera_API3.0 [ 75%]

...ld addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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

649. 版本管理swf找同名的Json文件发现找不到 [ 75%]

...;             if (!data){                 this.event(/*laya.events.Event.ERROR*/"error","file not find");                 return;             }             // console.log("this['_atlasPath']---->",this['_atlasPath']);      ...

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

650. laya.d3.core.light.SpotLight_API3.0 [ 75%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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