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

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

71. 分享:简单聊天室 [ 74%]

...是7个 my_html.removeChildren(0,7); } } // 跳转 private function onLink(data:*):void { Browser.window.location.href=data; } } }有兴趣的朋友可以下载附件,进行参考 附件 : --> HtmlDemo.zip 2017-01-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

72. [LayaAirIDE3]xcode切入切出声音不播放 [ 73%]

...时读取缓存     public initFromStorage(): void {         const data = Laya.LocalStorage.getJSON(SoundManager.STORAGE_KEY);         if (data) {             //Laya.SoundManager.musicVolume = data.bgmVolume / 100;             Laya.SoundManager.setMusicVolume(data.bgmVolume / 1...

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

73. laya.d3.webxr.core.WebXRInput_API3.0 [ 73%]

...dAxis gamepadButton handness lastXRPose position ray rotation EVENT_FRAMEUPDATA_WEBXRINPUT HANDNESS_LEFT HANDNESS_RIGHT Methods addAxisEvent addButtonEvent destroy event hasListener off offAll offAllCaller offAxisEvent offButtonEvent on once Constructors constructor new WebXRInput(handness: string):...

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

74. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 73%]

...          function method():void                  trace(hr.data)              } hr.data 返回结果是    如何获得 比如id:10000 的节点属性?     附件 : --> 2016-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

75. layaAir1.3.0版本swf组件的使用 [ 73%]

...接 提交 5 个回复 cuixueying 赞同来自: 现在有一个swf文件,data.swf,运行后显示如下 如何在项目中正常显示data.swf? 步骤一:将swf进行资源转换 步骤二:将自动生成的文件data.swf和以data命名的资源文件夹放置在IDE的资源目录下 需...

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

76. laya.d3.component.animator.AnimatorState_API3.0 [ 72%]

...meters destObject: any 克隆源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是...

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

77. laya.net.Loader_API3.0 [ 72%]

...AS BUFFER FONT HIERARCHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded eve...

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

78. layaAir支持xml加载和使用吗 [ 72%]

...mlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("data.xml"); trace(xml); } } }运行效果如下:   2016-...

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

79. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 72%]

...(gulpDir, cmd,{silent: true})>>compile_temp.js echo fork1.stdout.on("data", (data) =^> {>>compile_temp.js echo let str = String(data)>>compile_temp.js echo console.log(str)>>compile_temp.js echo if(str.match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo ...

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

80. laya.utils.TimeLine_API3.0 [ 72%]

...ine.ts:443 彻底销毁此对象。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是...

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