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