1,将一张图(小鸟的三个动作)分隔成三个小图,Sprite Mode设置为Multiple,在Sprite Editor->Slice->Type设置为Grid by sell count。选中分隔好的三个图,拖到Hierarchy里,自动会生成Animator。
1,将一张图(小鸟的三个动作)分隔成三个小图,Sprite Mode设置为Multiple,在Sprite Editor->Slice->Type设置为Grid by sell count。选中分隔好的三个图,拖到Hierarchy里,自动会生成Animator。