Value of a Card Game

Hello,
I’m currently developing a Card game but at this moment i’m stuck at the card overall.
How can i set a Card value for attack, defense at the editor, for a collection of 20 cards, and then at the game when i select my card, ir appears the value of attack of my Card and the value of the defense value of the opponent Card ?

ScriptObject