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

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

611. UI-Dialog [ 45%]

...gArea = "0,0," + 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_W...

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

612. 文本-字符限制 [ 45%]

...FFFF"; input.padding = [0, 4, 0, 4]; return input; } } new Text_Restrict();module laya { import Input = Laya.Input; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切...

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

613. UI-Dialog [ 44%]

..." + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog();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_W...

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

614. 骨骼动画-藤蔓 [ 44%]

...dex = 0; } mArmature.play(mCurrIndex, false); } } new Skeleton_SpineVine();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 Skeleton_SpineVine { pri...

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

615. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 44%]

...,这一点layabox远远不如白鹭。。。。 我改的代码如下: module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; ...

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

616. 骨骼动画-橡胶人 [ 44%]

...; } mArmature.play(mCurrIndex, false); } } new Skeleton_SpineStretchyman();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 Skeleton_SpineStretchyma...

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

617. 分享:关于自定义场景继承的实现 [ 44%]

...Scene=base.BaseScene; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class CustomSceneUI extends BaseScene { public txt_hello:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("CustomScene"); } } REG("ui.CustomSceneUI",CustomS...

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

618. 输入设备-摇一摇 [ 44%]

... console.text += "停止接收设备摇动"; } } } new InputDevice_Shake();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Shake = Laya.Shake; import Browser = Laya.Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class I...

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

619. 文本-Overflow [ 44%]

...e = 20; txt.color = "#ffffff"; Laya.stage.addChild(txt); return txt; } })()module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Overflow { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600,...

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

620. 网络和格式-POST [ 44%]

...ttpRequestComplete(e) { logger.text += "收到数据:" + hr.data; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private...

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