Пример #1
0
    public SpriteAtlas ChangeSprite(Image image, string imageSpr, Action <bool, IBundleRef> resultCallBack = null)
    {
        SpriteAtlas atlas = TryGetAtlas(imageSpr);

        if (atlas != null)
        {
            atlas.ChangeSprite(image, imageSpr, resultCallBack);
        }

        return(atlas);
    }