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

大约有 1,246 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

241. laya.ui.Radio_API3.0 [ 80%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Implementation of ISelect.name Inherited ...

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

242. let btn:Button = cell.getChildByName("button的name"); [ 80%]

...temBtn:Button = cell.getChildByName("mItemBtn");  这样会报一个错:Type "Node" is not assignable to type "Button". Property "toggle" is missing in type "Node"; 对着官网list例子做的,不知道为啥会报这个错? 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

243. laya.display.Text [ 80%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

来源: laya_api 发布时间: 20170929

244. prop 识别不到 [ 80%]

...tends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完成", this.speed);     } }   IDE中报错: [15:26:34] ...

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

245. 导出素材,不拷贝未打包资源 [ 80%]

...'C:\Users\itadmin3\Ap pData\Roaming\npm\node_modules\layacmd\node_modules\@types\node' npm ERR! path C:\Users\itadmin3\AppData\Roaming\npm\node_modules\layacmd\node_mo dules\@types npm ERR! code ELOOP npm ERR! errno -4067 npm ERR! syscall mkdir npm ERR! ELOOP: too many symbolic links encountered, mk...

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

246. 新建项目报错,求助 [ 80%]

...ya2\test3d\.laya\gulpfile.js [19:37:56] Starting 'default'...  出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(26,22): Error TS6053: File '../../../node_modules/@types/node/inspector.d.ts' not found. 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

247. LayaAir中怎么使用node.js 的 socket.io [ 80%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 预设怎么在代码中使用 问题状态 最新活动: 2016-12-14 16:43 浏览: 4240 关注: 5 人 cobra • 2016-12-14 16:51 第二步不是很...

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

248. Cannot find module Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js [ 79%]

... Can not find class Laya.Text layaair2-cmd 编译bug 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 2.0.0编译报错Cannot find global type 'Array' 运行报错 Uncaught Can not ...

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

249. 关于TS环境下的第三方库导入的疑问 [ 79%]

...ot/libs下添加对应的ts文件,通过以下命令 npm install --save @types/autobahn 生成了对应的d.ts的模块(在node_modules)下 但是发现依旧不提示 希望大神能解答一下这么几个问题 1.第三方的js导入最合理的方式具体是什么,或者说应该放在...

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

250. mac 的IDE,新建2D示例项目后,编译报错 [ 79%]

... Henno-汉 赞同来自: 自行解决了 在使用Laya前安装过nodetype,就会出现这种情况,把原来的nodetype卸载了就可以了 2019-02-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 HennoLuo 相关问题 Layab...

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