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

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

2691. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 42%]

...Main.js里import它了。 这是官方的方式吗?   3.我的报错  TypeError: Cannot set property 'mFontName' of undefined   at Object.2 (file:///D:/Git/Laya/myLayaJS/bin/js/bundle.js:279:21)   at o (file:///D:/Git/Laya/myLayaJS/bin/js/bundle.js:11:265)   at file:///D:/Git/Laya/myLayaJS/bi...

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

2692. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 42%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Button)。 ### 1.2.使用LayaAirIDE创建Button 使用LayaAirIDE创建Button更加简单,通过IDE的可视化操作,完全不需要程序基础,即可实现组件的创建与布局,...

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

2693. laya.d3.math.native.ConchVector3_API3.0 [ 42%]

...nate transformQuat transformV3ToV3 transformV3ToV4 Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

2694. Box2D使用Destory join报错? [ 42%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 预设怎么在代码中使用 求高人分享使用protobuff框架的游...

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

2695. [LayaAirIDE3]应该如何定义@property才能像GTextField一样加载字体? [ 42%]

...相关的链接 提交 2 个回复 LayaAir大为 赞同来自: @property({type: String, displayName: "字体名称", default: "宋体",isAsset: true, inspector: "Font"}) 您好,这个装饰器可以实现您需要的效果 2025-09-16 0 1 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您...

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

2696. laya.d3.core.MeshRenderer_API3.0 [ 42%]

...changeVertexDefine shaderValueInit Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Inherited accessor Enumeration Interface

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

2697. 打包微信小游戏报错 ReferenceError: Matter is not defined [ 42%]

...写项目,可以在pc端正常运行,matter.js是直接用 <script type="text/javascript" src='matter.js' loader='laya'></script> 引入 打包后在微信开发者工具打开报错:Matter is not defined, 在game.js里面添加了 let matter = require("matter.js"); window.Matter...

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

2698. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 42%]

...s://list.tmall.com/search_product.htm?q=%BB%A8%D3%A1%D0%B6%D7%B1%CB%AE&type=p&spm=a220m.1000858.a2227oh.d100&xl=%BB%A8%D3%A1_2&from=.list.pc_1_suggest';     if(window.innerHeight>=1000)//自动排版 { this.StartLeft.top= this.StartLeft.top-100; this.StartLeft.bottom= this.Star...

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

2699. 绘制能力 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...尺寸的百分比,当不勾选时,纹理的尺寸为像素大小。 Type:纹理填充的类型:重复、仅x轴重复、仅y轴重复、不重复。 Offset:纹理相对于Sprite对象,X轴,Y轴的偏移量,单位是像素。 Color:纹理的颜色。 8.2 代码绘制填充纹理 La...

来源: Laya3.0_文档 发布时间: 20251010

2700. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 42%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? LayaAirIDE下如何使用mask? 求高人分享使用pro...

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