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

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

2541. laya.ui.CheckBox_API3.0 [ 48%]

...域的属性为: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

2542. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 48%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ​ ProgressBar 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 ProgressBar 组件的属性 value 的...

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

2543. laya.physics.BoxCollider_API3.0 [ 48%]

...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Accessor Enumeration Interface

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

2544. Animation 使用疑问 [ 48%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 关于使用matterjs物理引擎鼠标问题 预设怎么在代码中使用 ...

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

2545. 关于自定义组件使用方式 [ 48%]

...是 这样的话原生的被覆盖了  有什么好的方式呢? 我是typescript 2018-01-29 0 1 分享 微博 QZONE 微信 Laya_XS 赞同来自: 谢谢分享! 2018-02-13 0 0 分享 微博 QZONE 微信 woody1720596907 赞同来自: 新增的自定义组件需要注册才能使用, 这步具...

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

2546. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如...

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

2547. Oppo加载.ls资源错误 [ 48%]

...us@main.js:2 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS...

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

2548. Cannot read property 'call' of undefined [ 48%]

...GameScene并添加到舞台后,出现如下异常:   详细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Eme...

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

2549. 资源版本问题 [ 48%]

...版本控制类型为使用文件名映射的方式 Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, beginLoad)) function beginLoad() { //加载LOADING资源 Laya.loader.load([{ url: "res/atlas/icon.atlas" }, { u...

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

2550. Arial Black字体能显示,为啥游戏里在firefox 里字体显示成了Times New Roman了 [ 48%]

... 2018-06-29 0 1 分享 微博 QZONE 微信 ayiui4566 赞同来自: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .p1{font-family:"Arial bold"; color: #583823;font-size: 25px} .p2{font-family:"Times New Roman";color: #583823;font-size: 25px}...

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