大约有 341 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
...() { console.log("播放完成"); } } new Sound_SimpleDemo();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL =...
来源: Laya2.0_示例 发布时间: 20241117
... function onComplete() { console.log("播放完成"); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL =...
来源: Laya_示例 发布时间: 20241117
...lete(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 hr: HttpReque...
来源: Laya_示例 发布时间: 20241117
...lete(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_GET { private hr: HttpReques...
来源: Laya_示例 发布时间: 20241117
...ature.play(mCurrIndex, false); } } new Skeleton_ChangeSkin();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 ChangeSkin { private mAniPath:string; ...
来源: Laya2.0_示例 发布时间: 20241117
...{ 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 ChangeSkin { private mAniPath:string; ...
来源: Laya_示例 发布时间: 20241117
...rue; txt.color = "#FFFFFF"; Laya.stage.addChild(txt); } })();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_Mouse { private txt: Text; constru...
来源: Laya_示例 发布时间: 20241117
..._MOVE, this, this.onMouseMove); } } new Interaction_Rotate();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0;...
来源: Laya2.0_示例 发布时间: 20241117
...FFFF"; Laya.stage.addChild(txt); } } new Interaction_Mouse();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_Mouse { private txt: Text; constru...
来源: Laya2.0_示例 发布时间: 20241117
...is.button, { x: targetX }, 100); } } new Interaction_Swipe();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 priv...
来源: Laya2.0_示例 发布时间: 20241117