大约有 724 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0039 秒)
Laya_社区(426) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
...透明度减少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_示例 发布时间: 20241119
...(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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
...击 - " + 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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
....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_示例 发布时间: 20241119
...tring(16); b = b.length == 2 ? b : "0" + b; return "#" + r + g + b; } })();module laya { import Animation = Laya.Animation; import Stage = Laya.Stage; import Browser = Laya.Browser; import Handler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { ...
来源: Laya_示例 发布时间: 20241119
...th == 2 ? b : "0" + b; return "#" + r + g + b; } } new BlendMode_Lighter();module laya { import Animation = Laya.Animation; import Stage = Laya.Stage; import Browser = Laya.Browser; import Handler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { ...
来源: Laya2.0_示例 发布时间: 20241119