Beispiel #1
0
    private void SetImgIcon(Transform cell, int talentId)
    {
        Image component = cell.FindChild("imgNatural").GetComponent <Image>();

        ResourceManager.SetSprite(component, PetEvoGlobal.GetSprite(talentId));
        component.SetNativeSize();
    }