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

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

221. laya.maths.Point [ 78%]

...):Point 将 Point 的成员设置为指定。 Point  toString():String返回包含 x 和 y 坐标的的字符串。PointPublic Constants ConstantDefined By  TEMP : Point[static] 临时使用的公用对象。PointProperty Detailxpropertypublic var x:Number该点的水平坐标。yproperty...

来源: laya_api 发布时间: 20170929

222. laya.ui.Tab_API3.0 [ 78%]

...a/ui/UIGroup.ts:28 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 Optional tag tag: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static drawtocanvCtx drawtocanvCtx: Context Inherited from Text.drawtocanvCtx Defin...

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

223. laya.ui.RadioGroup_API3.0 [ 77%]

...a/ui/UIGroup.ts:28 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 Optional tag tag: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static drawtocanvCtx drawtocanvCtx: Context Inherited from Text.drawtocanvCtx Defin...

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

224. laya.ui.List_API3.0 [ 77%]

...| null Defined in laya/ui/List.ts:176 单元格鼠标事件处理器(默认返回参数e:Event,index:int)。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough Defined in laya/display/Sprite.ts:260 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生...

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

225. 改造原生调用 [ 77%]

...eflection.callStaticMethod 调用 原生层的静态函数并可以直接返回, 不管android还是ios都可以。 laya中为什么就不可以呢?  可以参考一下 cocos2d-js 啊。既然是可以实现的那 是否打算要改造一下 统一一下调用方法? 谢谢! 2018-...

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

226. qg.login接口返回的是token不是accountid跟session [ 77%]

qg.login接口返回的是token不是accountid跟session 一张是laya2.0.2的,一张是cocos的,都是调的qg.login 附件 : --> 2019-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠?...

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

227. laya.ui.UIUtils_API3.0 [ 76%]

...ing): any[] Defined in laya/ui/UIUtils.ts:19 用字符串填充数组,并返回数组副本。 Parameters arr: any[] 源数组对象。 str: string 用逗号连接的字符串。如"p1,p2,p3,p4"。 Default value type: typeof Number | typeof String = null 如果不为null,则填充的是新增...

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

228. Laya.Scene.open 中的complete参数如何取得场景实例? [ 76%]

...中的参数: complete:Handler (default = null) — 打开完成回调,返回场景实例(可选)   那么我要怎么从这个handler里边得到打开场景实例呢: 以下是我写的typescript代码: class Main {     onConfigLoaded(): void {         //加载IDE指定的场...

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

229. 引用JS进来,游戏会卡顿 [ 76%]

...me里面 听不见声音 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 layaAir TS项目如何引用protoBuf库? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 成都雨墨游戏 求 laya 程序开发人员 移植了一个游戏 代码重...

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

230. laya.net.Loader_API3.0 [ 76%]

...g = "atlas" Defined in laya/net/Loader.ts:95 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。 Static BUFFER BUFFER: string = "arraybuffer" Defined in laya/net/Loader.ts:87 二进制类型,加载完成后返回包含arraybuffer的TextResource对象。 Static ...

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