Unity3d编辑animation窗口时,如果要编辑一个Prefab的clip必须先把这个Prefab拖到Scene视图

在Unity3d中,若想在Animation窗口编辑Prefab的clip,必须将Prefab拖入Scene视图。本文概述了Animation视图的工作原理,创建新Animation Clip的步骤,以及如何进行Sprite动画的创建和回放。在Animation Mode下,对场景中的GameObject进行的改动会被记录到Animation Clip中,而Prefab的编辑需要在Scene视图中完成。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

好吧,最近开始在Asset store上面下资源看别人做的demo了,发现一个问题是我要在animation窗口编辑一个clip,却死活编辑不了一个prefab对象,只能看,后来在网上找了半天也没找到答案,最后没辙还是去官网吧,发现官网上其实已经解释了这个问题,,,

编辑完成之后,在Scene视图中将之前拖进去的Prefab对象删除即可,编辑的数据会实时保留的,,,

官方文档截图:

Overview

When you open the Animation View (menu: Window > Animation), you will see a window similar to this:

The Animation View is tightly integrated with the Hierarchy View, the Scene View, and the Inspector. Like the Inspector, the Animation View will show whatever Game Object is selected. You can select a Game Object to view using the Hierarchy View or the Scene View. (If you select a Prefab in the Project View you can inspect its animations as well, but you have to drag the Prefab into the Scene View in order to be able to edit them.)

At the left side of the Animation View is a list of the animated properties of the selected Game Object. Properties can be folded and unfolded by clicking the foldout triangles next to them.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值