feat(Card): 卡牌基本框架,尚未测试
This commit is contained in:
16
Assets/Script/Card/CardData.cs
Normal file
16
Assets/Script/Card/CardData.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Card
|
||||
{
|
||||
[CreateAssetMenu(fileName = "NewCard", menuName = "Card/CardData")]
|
||||
public class CardData : ScriptableObject
|
||||
{
|
||||
public string CardName;
|
||||
public string CardDescription;
|
||||
public Texture CardTexture;
|
||||
public EffectData[] Effects;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user