大约有 726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya_社区(429) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(7)
...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
...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_示例 发布时间: 20260303
...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_示例 发布时间: 20260303
... 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
...etRes("res/apes/monkey2.png"); // 使用资源 } } new Loader_SingleType();module laya { import Loader = Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_SingleType { constructor() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("r...
来源: Laya2.0_示例 发布时间: 20260303
... BlurFilter(); blurFilter.strength = 5; ape.filters = [blurFilter]; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import BlurFilter = Laya.BlurFilter; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Blur { p...
来源: Laya_示例 发布时间: 20260303
...图像 textBox.cacheAsBitmap = true; Laya.stage.addChild(textBox); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换至...
来源: Laya_示例 发布时间: 20260303
...开发者工具打开报错 官网示例摇一摇报错,就解决方案 module写法的模块无法使用,其他地方使用会报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2024-09-25 14:59 浏览: 2714 关...
来源: Laya_社区 发布时间: 20240305
...aleValue = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { private ape: Sprite; private scale...
来源: Laya_示例 发布时间: 20260303
...awTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); })); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { ...
来源: Laya_示例 发布时间: 20260303