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

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

461. laya.ui.Clip_API3.0 [ 21%]

...。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.Clip; public class Clip_Example { private var clip:Clip; public function Clip_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(...

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

462. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 20%]

...ility.ts:4:18 Currently module for 'liblaya.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared. WARN: ArkTS:WARN File: /Users/HonestQiao/Documents/Laya/La...

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

463. laya.display.Text_API3.0 [ 19%]

...些移动端因缺少设置的字体而显示异常)。 example package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); ...

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

464. laya.display.Sprite_API3.0 [ 18%]

...又达到高性能。 example 创建了一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染...

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

465. laya.ui.Image_API3.0 [ 15%]

...设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private functio...

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