I created new BlockSprite extend cc.Sprite and added to cc.Layer on ‘onEnter’ or ‘ccTouchesEnded’ method.
BlockSprite has animation. I created animation and executed:
BlockSprite was draw and animate.
When I created BlockSprite and added in schedule method. It didn’t animate or draw BlockSprite. It had
BlockSprite._texture field equal new Texture2D (didn’t have image for draw).
When I created animation and executed:
After this initialisation, I can create BlockSprite somewhere.
What is that bug or feature? Thanks!