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

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

681. 小米快游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...设置中进行配置。 游戏包名 游戏包名的格式是 com.company.module 第一位com不要变,第二位是公司名,第三位是项目名。都要写英文,例如:com.layabox.demoGame。 游戏版本 游戏版本与版本名称用处不同,这里是渠道平台用于区别版本...

来源: Laya3.0_文档 发布时间: 20251010

682. Sprite-新手引导 [ 37%]

...iner.loadImage(step.tip); tipContainer.pos(step.tipx, step.tipy); } } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContain...

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

683. UI-Clip [ 37%]

...r.play(); counter.index = currFrame; controller.label = "暂停"; } } })();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Clip = Laya.Clip; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: st...

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

684. 鼠标交互-修正交互区域 [ 37%]

...tion onDown(e) { logger.text += "点击 - " + e.target.name + "\n"; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion...

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

685. 计时器-延迟执行 [ 37%]

...透明度减少0.5 this.button2.alpha -= 0.5; } } new Timer_DelayExcute();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private butto...

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

686. Sprite-新手引导 [ 37%]

...(step.tip); tipContainer.pos(step.tipx, step.tipy); } } new Sprite_Guide();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContain...

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

687. UI-Clip [ 36%]

...r.index = currFrame; this.controller.label = "暂停"; } } } new UI_Clip();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Clip = Laya.Clip; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: st...

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

688. 鼠标交互-修正交互区域 [ 36%]

...击 - " + e.target.name + "\n"; } } new Interaction_FixInteractiveRegion();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion...

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

689. 屏幕适配-屏幕适配 [ 36%]

...ge大小 console.log("size:", Laya.stage.width, Laya.stage.height); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 ...

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

690. 屏幕适配-屏幕适配 [ 36%]

....log("size:", Laya.stage.width, Laya.stage.height); } } new SmartScale_T();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 ...

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