大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0037 秒)
Laya_社区(422) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...e) { Tween.to(sp, { "rotation": newAngle }, 1000, Ease.elasticOut); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Ease = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Inter...
来源: Laya_示例 发布时间: 20241001
...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined module写法的模块无法使用,其他地方使用会报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 用了ByteArray的zlib.min.js后报错 runtime运行报...
来源: Laya_社区 发布时间: 20190821
...ate); } function animate(e) { sp1.rotation += 2; sp2.rotation += 2; } })();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_Pivot { private sp1: Sprite; private sp2: Sprite; ...
来源: Laya_示例 发布时间: 20241001
...getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();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...
来源: Laya_示例 发布时间: 20241001
...() { this.rotateFrameRateBasedText.rotation += 1; } } new Timer_Interval();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_Interval { private rotateTimeBasedText: Text; private rotateFrameRateBasedText: Te...
来源: Laya2.0_示例 发布时间: 20241001
...getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();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...
来源: Laya_示例 发布时间: 20241001
...ake.instance.stop(); console.text += "停止接收设备摇动"; } } })(); 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...
来源: Laya_示例 发布时间: 20241001
....ape1.rotation += 2; this.ape2.rotation -= 4; } } new Sprite_NodeControl();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_NodeControl { private ape1: Sprite; private ape2: ...
来源: Laya2.0_示例 发布时间: 20241001
...t.padding = [0, 4, 0, 4]; Laya.stage.addChild(input); return input; } })();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时自动切...
来源: Laya_示例 发布时间: 20241001
... 0); // 设置交互区域 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 { ...
来源: Laya_示例 发布时间: 20241001