大约有 708 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0045 秒)
Laya_社区(412) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...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_示例 发布时间: 20241119
...() { 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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
...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_示例 发布时间: 20241119
....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_示例 发布时间: 20241119
...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined module写法的模块无法使用,其他地方使用会报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 用了ByteArray的zlib.min.js后报错 runtime运行报...
来源: Laya_社区 发布时间: 20190821
...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_示例 发布时间: 20241119
... 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_示例 发布时间: 20241119
...{ this.ape1.rotation += 2; this.ape2.rotation += 2; } } new Sprite_Pivot();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; ...
来源: Laya2.0_示例 发布时间: 20241119
... = 0; } mArmature.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 m...
来源: Laya2.0_示例 发布时间: 20241119