2025-10-14 14:10:20 +08:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
2025-10-15 21:31:13 +08:00
|
|
|
namespace Gameplay
|
2025-10-14 14:10:20 +08:00
|
|
|
{
|
2025-10-15 21:31:13 +08:00
|
|
|
[CreateAssetMenu(fileName = "CardData", menuName = "ScriptableObject/CardData")]
|
2025-10-14 14:10:20 +08:00
|
|
|
public class CardData : ScriptableObject
|
|
|
|
{
|
2025-10-15 21:31:13 +08:00
|
|
|
public int CardID;
|
2025-10-14 14:10:20 +08:00
|
|
|
public string CardName;
|
|
|
|
public string CardDescription;
|
2025-10-17 15:10:19 +08:00
|
|
|
public Texture FrontCardTexture;
|
|
|
|
public Texture BackCardTexture;
|
2025-10-14 14:10:20 +08:00
|
|
|
public EffectData[] Effects;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|