如何在Unity中更改2D角色的精灵

huangapple go评论65阅读模式
英文:

How to change a 2D character's sprite in Unity

问题

Suppose I have a 2D pixel character like this:

如何在Unity中更改2D角色的精灵

and I want to know if there are some ways in Unity to edit this character's sprite to have movement or attack.

英文:

Suppose I have a 2D pixel character like this:

如何在Unity中更改2D角色的精灵

and I want to know if there are some ways in Unity to edit this character's sprite to have movement or attack.

答案1

得分: 1

我相信你需要使用精灵的序列来进行动画。

英文:

I do believe you have to use the sequence of the sprite to animate it

答案2

得分: 0

不,在Unity中不能。您必须使用图像编辑器自己创建动画的每一帧,然后使用Unity将它们全部连接在一起,形成连贯流畅的交互动画。

英文:

No, not in Unity. You have to use an image editor to make each frame of the animation yourself, and then use Unity to hook them all up into a cohesive, fluid, interactive motion.

答案3

得分: 0

你需要为你的角色创建一个动画序列,并简单地将所有动画(图像)精灵添加到序列中。

您可以在Unity的官方教程中了解更多关于动画的信息,链接在这里:Sprite动画简介

英文:

You need to create an animation sequence for your character and simple add all of your animated (images)sprites in the sequence.

You can read more about animations from Unity's official tutorials here: Introduction to Sprite Animations

huangapple
  • 本文由 发表于 2023年2月13日 23:54:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/75438253.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定