大约有 2,546 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0060 秒)
layaMaxUI.ts 自动生成的ui代码重复import 附件 : --> demo.rar 2019-08-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 gplzh 赞同来自: ide版本是 LayaAir IDE 2.2.0beta2 2019-08-12 0 0 分享 ...
来源: Laya_社区 发布时间: 20190812
...设置、位置设置等 举个例子: 代码展示:package { import laya.display.Sprite; import laya.maths.Matrix; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class GraCmdsDemo { public funct...
来源: Laya_社区 发布时间: 20170519
2.0导出UI为加载模式,然后import这个as类,却加载场景失败 2.0导出UI为加载模式,然后import这个as类,却加载场景失败 附件 : --> 123.rar 123.rar 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20181026
...序(推荐用FlashBuilder),编写代码如下: ```java package { import laya.display.Sprite; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Main { private co...
来源: Laya2.0_文档 发布时间: 20210715
...交互区域 ape.size(texture.width, texture.height); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Texture = Laya.Texture; import Handler = Laya.Handler; import Browser= Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_SwitchTexture { private textur...
来源: Laya_示例 发布时间: 20240930
...ure.play(mCurrIndex, false); } } new Skeleton_MultiTexture();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class MultiTexture { private mAniPath:string...
来源: Laya2.0_示例 发布时间: 20240930
...Factor = Browser.pixelRatio; Laya.stage.addChild(ta); } })();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/textarea.png...
来源: Laya_示例 发布时间: 20240930
...d(p); p.href = "../../res/html/test.html"; p.y = 200; } })();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 { constructor() { // ...
来源: Laya_示例 发布时间: 20240930
...olorPicker) { 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 = "../../res/ui/col...
来源: Laya_示例 发布时间: 20240930
... + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Dialog = Laya.Dialog; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number =...
来源: Laya_示例 发布时间: 20240930