• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,055 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)

171. 缓动-简单的Tween [ 73%]

...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

172. 输入设备-摇一摇 [ 73%]

...+= "停止接收设备摇动"; } } } 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

173. Sprite-切换纹理 [ 73%]

...交互区域 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

174. 骨骼动画-多纹理 [ 73%]

...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

175. 加载-单一类型资源加载 [ 73%]

...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

176. UI-Dialog [ 73%]

... + 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

177. UI-Dialog [ 73%]

...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

178. 骨骼动画-藤蔓 [ 73%]

...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

179. Unity3d导出模型时 报错: LayaAir3D UnityPlugin: Resources/unity_builtin_extra can't export [ 73%]

...常 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity到导出场景加载时抛异常,不知所措 3d项目-unity添加物理组...

来源: Laya_社区 发布时间: 20191106

180. 骨骼动画-橡胶人 [ 73%]

...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