假设我对我的 Sprite 应用了以下着色:
CCTintTo *tint = [CCTintTo actionWithDuration:2 red:50 green:50 blue:50];
[self runAction:tint];
我如何将其着色?如何恢复以前的颜色并使 Sprite 看起来像以前一样?
最佳答案
简单:
sprite.color = ccWhite;
关于ios - Cocos2D。如何给 Sprite 着色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14566272/