大约有 2,055 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)
...d(character); return character; } } new Tween_SimpleSample();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时自动切换...
来源: Laya2.0_示例 发布时间: 20241117
...+= "停止接收设备摇动"; } } } new InputDevice_Shake();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 InputDevice_Sha...
来源: Laya2.0_示例 发布时间: 20241117
...交互区域 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 { private textur...
来源: Laya_示例 发布时间: 20241117
...ure.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 mAniPath:string...
来源: Laya2.0_示例 发布时间: 20241117
...getRes("../../res/apes/monkey2.png"); // 使用资源 } })();module laya { import Loader = Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_SingleType { constructor() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("../../res/apes/...
来源: Laya_示例 发布时间: 20241117
... + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Dialog = Laya.Dialog; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number =...
来源: Laya_示例 发布时间: 20241117
...TH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog();module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Dialog = Laya.Dialog; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number =...
来源: Laya2.0_示例 发布时间: 20241117
...mature.play(mCurrIndex, false); } } new Skeleton_SpineVine();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 { private mAniPath:...
来源: Laya2.0_示例 发布时间: 20241117
...常 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity到导出场景加载时抛异常,不知所措 3d项目-unity添加物理组...
来源: Laya_社区 发布时间: 20191106
...play(mCurrIndex, false); } } new Skeleton_SpineStretchyman();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_SpineStretchyman { private mA...
来源: Laya2.0_示例 发布时间: 20241117