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

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

511. UI-ColorPicker [ 48%]

...nChangeColor(colorPicker) { console.log(colorPicker.selectedColor); } })();module laya { import Stage = Laya.Stage; import ColorPicker = Laya.ColorPicker; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ColorPicker { private skin: string = ".....

来源: Laya_示例 发布时间: 20241001

512. UI-TextArea [ 48%]

...); ta.padding = "70,8,8,8"; Laya.stage.addChild(ta); } } new UI_TextArea();module laya { import Stage = Laya.Stage; import TextArea = Laya.TextArea; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_TextArea { private skin: string = "res/ui/text...

来源: Laya2.0_示例 发布时间: 20241001

513. 加载-加载序列 [ 48%]

...oader.maxLoader = 5; console.log("All done."); } } } new Loader_Sequence();module laya { import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_Sequence { private numLoaded: number = 0; private resAmount: number = 3; constructor() { Laya.init(500, 400); // 按序列加载 ...

来源: Laya2.0_示例 发布时间: 20241001

514. 文本-自动换行 [ 48%]

... 1; txt.y = Laya.stage.height - txt.textHeight >> 1; } } new Text_Scroll();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_WordWrap { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Brow...

来源: Laya2.0_示例 发布时间: 20241001

515. [LayaAir2]iOS设备,抖音app报错 requestAnimationFrame [ 48%]

...开发者工具打开报错 官网示例摇一摇报错,就解决方案 module写法的模块无法使用,其他地方使用会报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2024-09-25 14:59 浏览: 2714 关...

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

516. Image.loadImage 方法加载问题 [ 48%]

...umber) : void {          cell.publicSpaceData = cell.dataSource; } module gamepublicspaceitem {  export class PublicSpaceItem extends Laya.Box  {   public static BTN_ENTRER_CLICK:string = "BtnEnterClick";   public _publicSpaceData:datasheet.PublicSpaceData;   private bg:Laya.Image; ...

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

517. UI-ColorPicker [ 48%]

...Picker) { console.log(colorPicker.selectedColor); } } new UI_ColorPicker();module laya { import Stage = Laya.Stage; import ColorPicker = Laya.ColorPicker; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ColorPicker { private skin: string = "re...

来源: Laya2.0_示例 发布时间: 20241001

518. 背景音乐来回切换报错 [ 48%]

... methods 07-16 13:28:38.922 1760-1760/? E/memtrack: Couldn't load memtrack module (No such file or directory) 07-16 13:28:38.922 1760-1760/? E/android.os.Debug: failed to load memtrack module: -2 07-16 13:28:38.952 1760-1760/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am 07-16 13:...

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

519. 文本-HTML文本 [ 48%]

...addChild(p); p.href = "res/html/test.html"; p.y = 200; } } new Text_HTML();module laya { import Stage = Laya.Stage; import HTMLDivElement = Laya.HTMLDivElement; import HTMLIframeElement = Laya.HTMLIframeElement; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_HTML { const...

来源: Laya2.0_示例 发布时间: 20241001

520. 计时器-延迟调用 [ 48%]

...align = "middle"; text.align = "center"; Laya.stage.addChild(text); } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_CallLater { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Br...

来源: Laya_示例 发布时间: 20241001