void CardAttackIns() { if (MyType == Type.Unit || MyType == Type.Hero) { MyCardAttack = CardAttackState.Can; } }
void CardStateIns() { if (MyCardState == CardState.Down) { this.gameObject.GetComponent <SpriteRenderer>().sprite = TheBack; MyCardAttack = CardAttackState.CanNot; } }