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

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

821. laya.display.cmd.DrawPathCmd [ 72%]

...回收到对象池 DrawPathCmdPublic Constants ConstantDefined By  ID : String = DrawPath[static] DrawPathCmdProperty Detailbrushpropertypublic var brush:Object (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 pathsproperty public var paths:Array 路径集合,路径支持...

来源: Laya2.0_api 发布时间: 20190513

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

...修改或拓展 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

823. JS调用IOS native方法第二次才调用成功 [ 72%]

...调用时间吗? 希望给spine增加一个showSlotSkinByName(slotName:String, name:String)方法 HttpRequest 调用webserivece 问题状态 最新活动: 2019-05-31 10:59 浏览: 856 关注: 1 人

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

824. laya.effect.ButtonEffect_API3.0 [ 72%]

...tEase effectScale tweenTime Accessors target Properties backEase backEase: string Defined in laya/effect/ButtonEffect.ts:35 backEase prop {name:backEase,type:ease, tips:"恢复缓动类型"} effectEase effectEase: string Defined in laya/effect/ButtonEffect.ts:30 effectEase prop {name:effectEase,type...

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

825. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 72%]

...declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我也是初学,以上一点摸坑的经验,希望跟大家交流交流,...

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

826. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 72%]

...      private mDecorate:Decorate;//装饰器         private mHost: string;         private mPort: number;         private mConnected: boolean;         /** 开启*/         public static OPEN: string = "open";         /** 关闭*/         public static CLOSE: string = ...

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

827. 频繁改变Label对象的Text属性 [ 72%]

...间久了内存就会升高,用谷歌浏览器检测,每秒都会多好多String类型的对象,请问这种内存升高是对Label框频繁赋值导致的吗?这种频繁使用Label框的情况用什么方法比较好呢? 2018-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

828. 如何用ts对引擎类进行方法扩展 [ 71%]

...dsSeperator:  declare global { interface Number { thousandsSeperator(): String; } } Number.prototype.thousandsSeperator = function(): string { return Number(this).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); } export {};  我用同样的方法尝试了,但是行不通。   请问我的ts...

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

829. laya.html.HtmlParser_API3.0 [ 71%]

...arser() Defined in laya/html/HtmlParser.ts:14 Methods parse parse(aSource: string, style: TextStyle, out: Array<HtmlElement>, options?: HtmlParseOptions): void Defined in laya/html/HtmlParser.ts:33 Parameters aSource: string style: TextStyle out: Array<HtmlElement> Optional options: Html...

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

830. 希望IDE中label控件进行一些优化 [ 71%]

...系如何调整? 希望给spine增加一个showSlotSkinByName(slotName:String, name:String)方法 问题状态 最新活动: 2017-03-16 10:55 浏览: 906 关注: 2 人

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