- Home /
Does SpriteManger2 can duel with layer's components?
I found the problem when I made Fanatasy Card. My card consist of Frame, Picture and Symbol. Then I made all components into Sprite Class.
And then put in some game object ; myGameObject.AddComponents();
The display has no problem but what I got problem is..... when I said to myGameObject to move left, nothing happened. After I investigated the problem, I found that if whatever I will say to my component is meaningless because its components never listen. Then I set each components to move, it moved!
In my opinon, GameObject may not add component or it is impossible to add many sprite in 1 objects.
I think about SpriteManager for solution but I still cannot find the reference about what I want. As far as I knew, SpriteManager is for animation with frames. I wonder that SpriteManager can do about layer stuff or not? Can any body help?
I use ; mySpriteManager.AddSprite(cardFrame); mySpriteManager.AddSprite(cardSymbol);......