大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)
Laya_社区(422) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(33) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...ff(Event.MOUSE_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 preRadia...
来源: Laya2.0_示例 发布时间: 20241001
...(this, onHold); Laya.stage.off(Event.MOUSE_UP, this, onApeRelease); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = Laya.Browser; import Ease = Laya.Ease; import Handler = Laya.Handler; import Twe...
来源: Laya_示例 发布时间: 20241001
...d)) } playEnd() { mLabelSprite.removeSelf(); } } new Skeleton_SpineEvent();module laya { import EventData = Laya.EventData; import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Sprite = Laya.Sprite; import Event = Laya.Event; import Browser = Laya.Browser; import Handler = Laya.Han...
来源: Laya2.0_示例 发布时间: 20241001
...meLine.pause(); break; case Keyboard.R: timeLine.resume(); break; } } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { priva...
来源: Laya_示例 发布时间: 20241001
...stage._canvasTransform.d) }); } })();var Matter: any; var LayaRender: any; module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_Cloth { private stageW...
来源: Laya_示例 发布时间: 20241001
...们来操作看下。代码以及实现效果如下所示: ```typescript module game { /* ImageRunTime逻辑类 */ export class ImageRunTime extends Laya.Button{ public scaleTime:number = 100; constructor() { super(); //设置组件的中心点 this.anchorX = this.anchorY = 0.5; ...... } ...... } ...
来源: Laya2.0_文档 发布时间: 20210715
...e.off(Event.MOUSE_UP, this, this.onApeRelease); } } new Interaction_Hold();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = Laya.Browser; import Ease = Laya.Ease; import Handler = Laya.Handler; import Twe...
来源: Laya2.0_示例 发布时间: 20241001
...设置中进行配置。 游戏包名 游戏包名的格式是 com.company.module 第一位com不要变,第二位是公司名,第三位是项目名。都要写英文,例如:com.layabox.demoGame。 游戏版本 游戏版本与版本名称用处不同,这里是渠道平台用于区别版本...
来源: Laya3.0_文档 发布时间: 20240926
...../../res/apes/monkey2.png"); Laya.stage.addChild(ape); return ape; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import ColorFilter = Laya.ColorFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.Web...
来源: Laya_示例 发布时间: 20241001
...stageY; distance = Math.sqrt(dx * dx + dy * dy); } return distance; } })();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_Scale { //上次记录的两个触模点之...
来源: Laya_示例 发布时间: 20241001