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

大约有 3,691 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)

381. 请问,官方文档里面2.1新加的animator混合动画如何区分上半身和下半身 [ 86%]

请问,官方文档里面2.1新加的animator混合动画如何区分上半身和下半身 翻了官方的文档,demo示例,里面并没有相关操作,也没有相关代码。unity里面的avatar mask也无法导出,请问有官方的示例的功能如何实现。 2019-10-28 添加评论...

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

382. 关于模板动画 [ 86%]

...件做特定效果的,你不能一个button组件,添加一个华丽的Animation特效(Animation包含众多UI组件);建议你可以实际动手操作下,请参考官方文档:动画模板 2017-10-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

383. Unity导出Humanoid类型的动画无法播放 [ 86%]

...出Humanoid类型的动画无法播放 导出的文件里面可以获取到Animator组件,并且动画时长也可以获取到,但是调用play以后模型不播放动画,请问官方说有做出过3D任务的动画,能否提供一个思路。   附件 : --> 2019-04-08 添加评论 免费...

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

384. 加载-销毁Texture使用的图片资源 [ 86%]

...#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this.aniFly.loadAtlas(Path...

来源: Laya2.0_示例 发布时间: 20251209

385. laya2 物理引擎好多问题 [ 86%]

...nabled=false; var self:Laya.Sprite= this.owner as Laya.Sprite; var ni:Laya.Animation=new Laya.Animation(); self.addChild(ni); self.texture=null; ni.source='baozha/baozha_0.png,baozha/baozha_1.png,baozha/baozha_2.png,baozha/baozha_3.png,baozha/baozha_4.png,baozha/baozha_5.png,baozha/baozha_6.png,baoz...

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

386. rigidBody.applyForce 物体不会移动 [ 86%]

...z: number = 0; private yaw: number = 0; private pitch: number = 0; private animator: Laya.Animator; private point: Laya.Vector2 = new Laya.Vector2(); private _ray: Laya.Ray; private _outHitResult: Laya.HitResult; private text: Laya.Text = new Laya.Text(); constructor() { //初始化引擎 Laya3D.ini...

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

387. 动画-新版骨骼动画 [ 86%]

...h")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]; var curStateIndex = 0; Lay...

来源: Laya_示例 发布时间: 20251209

388. View下编辑的动画如何正确播放 [ 86%]

...的动画如何正确播放 新建一个空View,然后组件->2D->Animation托入View下。通过时间轴,编辑一个简单的透明度变化动画。在View下的Animation组件下加入一个文本节点。在动画编辑模式下,可以正常播放透明动画。导出该UI,代码...

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

389. Sprite-旋转缩放 [ 86%]

...ge.width / 2; ape.y = Laya.stage.height / 2; Laya.timer.frameLoop(1, this, animate); } function animate(e) { ape.rotation += 2; //心跳缩放 scaleDelta += 0.02; var scaleValue = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } })();module laya { import Sprite = Laya.Sprite; import Stage ...

来源: Laya_示例 发布时间: 20251209

390. laya.d3.animation.AnimationClip_API3.0 [ 86%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/animation/AnimationClip" AnimationClip Class AnimationClip AnimationClip 类用于动画片段资源。 Hierarchy Resource AnimationClip Index Constructors constructor Properties _id destroyedImmediately islooping lock name u...

来源: Laya3.0_api 发布时间: 20231115