Hi! I would like to know how to merge 2 sprites from a scriptable object give it a name the same script. Im still new to Unity and im not sure how to proceed with this so here is my script in wich I want to make this happen:
[CreateAssetMenu(fileName = “New Card”, menuName = “Card”)]
public class Card : ScriptableObject
public int level;
public string cardName;
public string type;
public string effect;
public string rarity;
public int id;
public Sprite template;
public Sprite artwork;
public bool isCreature;
My super basic idea is to do someting like
" mergedSprites = template.sprite+artwork.sprite;"
Both images are the same size (825 x 1125) and they are cut in a way you can add them both on top of each other without worrying about wich is on top of wich. Im only looking to make a third sprite out the first 2. Any help would be appreciated. Thank you for taking the time to read.
Have a great day!