大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)
Laya_社区(422) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...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
...); 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
...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
... 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
...开发者工具打开报错 官网示例摇一摇报错,就解决方案 module写法的模块无法使用,其他地方使用会报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2024-09-25 14:59 浏览: 2714 关...
来源: Laya_社区 发布时间: 20240305
...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
...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
... 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
...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
...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