Hello,
I am almost the beginner.
I searched and use this way to change the sprite image.
tk2dSprite img = GetComponent<tk2dSprite>();
img.collection = (tk2dSpriteCollectionData) Resources.Load ("World1", typeof(tk2dSpriteCollectionData));
img.SwitchCollectionAndSprite(img.collection, img.GetSpriteIdByName("test"));
When I tested it,
the names of collection and sprite in the Inspector were changed.
But not changed in the game view ( also scene view ).
What is the problem? Please help me.
Many Thanks.