大约有 508 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...D.ts:219 添加脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript 脚本。 clone clone(): AnimatorState2D Defined in laya/components/AnimatorState2D.ts:265 克隆 Returns AnimatorState2D cloneTo cloneTo(destObject: any): void Defined in laya/components...
来源: Laya3.0_api 发布时间: 20231115
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):Ev...
来源: Laya2.0_api 发布时间: 20190513
...events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需...
来源: Laya3.0_api 发布时间: 20231115
...入参数,为json字符串, json对象必须提供以下属性 | 名称 | 类型 | 描述 | | ------------ | ------ | --------------------------- | | product_id | string | 苹果的商品ID (在iTunesConnect中设置) | | amount | number | 购买数量 | | order_id | string | 订单ID (单机版设...
来源: Laya2.0_文档 发布时间: 20210715
3d获取组件代码bug /** *通过指定类型获得所有组件。 *@param type 组件类型。 *@param components 组件输出队列。 */ __proto.getComponentsByType=function(type,components){ var index=this._componentsMap.indexOf(type); if (index===-1) components.length=0; //这里应该返回...
来源: Laya_社区 发布时间: 20170630
...无需通过网络进行下载: 开发者可以根据要开发的项目类型选择2D空项目或3D空项目,但LayaAir引擎没有对2D项目和3D项目进行严格的分离,即使创建的是2D空项目,开发者也可以在其中添加并编辑3D场景。 2.2示例模板 示例模板用...
来源: Laya3.0_文档 发布时间: 20251010
...复制到自己的项目中运行的(文档中预加载的资源是.atlas类型的,现在IDE中默认导出的是.json类型的,你需要先到UI编辑模式下F9打开项目设置改下导出类型) 2.你在index.html中引入了一个不存在的js文件matter-RenderLaya,需要把这个...
来源: Laya_社区 发布时间: 20171028
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):Ev...
来源: laya_api 发布时间: 20170929
...events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需...
来源: Laya3.0_api 发布时间: 20231115
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):Ev...
来源: Laya2.0_api 发布时间: 20190513