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

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

2221. 两个问题都关于LayaAir的ios真机 [ 63%]

...de> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false && _selected) return; if(e.type==Event.MOUSE_DOWN){ QuickUtils.addDark(this,true); }else{ QuickUtils.addDark(this,false); } if (e.type === Event.CLICK) { toggle &a...

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

2222. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 63%]

...("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下...

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

2223. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 63%]

...,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } ``` 另外,从网络中...

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

2224. 自定义panel类问题 [ 63%]

...会显示在g_uiScroll上。。 15818760256 • 2017-11-23 10:42 @Monica: function onAssetLoaded(params) { g_uiScroll = new UIScroll(610.0, 250); g_uiScroll.pos(0, 0); Laya.stage.addChild(g_uiScroll); g_uiScroll.addEventText("hhhhhhhhhhhhhhhhhhhhhhhhhhhhh"); var view = new NpcLayer(); view...

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

2225. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 63%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

2226. laya支持的发布模式有哪些? [ 63%]

...))debugger;//在此行会自动断点 ================== AS: setName(123); function setName(name:String):void { trace(name); } JS: function setName (name){ if(!__DEBUGTYPE__(name,'String'))debugger;//在此行会自动断点 trace(name); } =================== AS: var asString:String = asObj as Strin...

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

2227. 微信的缓存引擎只支持了图片和声音,其他lh,lm等文件自动缓存时都不支持是缓存的时候有什么问题和难点吗? [ 63%]

...        * @return          */         public static function getFileInfo(fileUrl:String):Object {             return MiniFileMgr.getFileInfo(fileUrl);         }                  /**          * 获取缓存文件列表        ...

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

2228. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 63%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

2229. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 63%]

...([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig){                 var fileversion = Laya.ResourceVersion.manifest[key]||key; ...

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

2230. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 63%]

...切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sources[index]); if (this...

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