Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不使用旋转并添加不同的框架。有没有办法让鱼脸以正确的方式?这是因为我有一个动画,有时只是重新创建每个帧以面对正确的帧会很麻烦?
fish.scaleX=-1;
瞧,你的鱼现在面向 X 方向的另一侧。如果它改为向下游,则scaleY切换到 -1。
scaleY