void CacheSprites()
 {
     //if (mIsPrefab == false)
     //{
     GiraffeAtlas._GetNames(mAtlas, ref mSpriteNames);
     mCurrentSpriteNameId = GiraffeAtlas._FindSpriteIndex(mAtlas, mRenderer.spriteName);
     //}
 }
Ejemplo n.º 2
0
 private void MakeSpriteNames()
 {
     GiraffeAtlas._GetNames(mFont.atlas, ref mSpriteNames);
     mCurrentSpriteNameId = GiraffeAtlas._FindSpriteIndex(mFont.atlas, mFont.spriteName);
 }