23 lines
617 B
C#
23 lines
617 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SLSFramework.General;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis.MainGame.Card
|
|
{
|
|
[CreateAssetMenu(fileName = "CardViewCollection", menuName = "Continentis/MainGame/Card/CardViewCollection")]
|
|
public class CardViewCollection : ScriptableObject
|
|
{
|
|
[KeyWidth(0.25f)]
|
|
public SerializableDictionary<string, CardViewParts> cardViews;
|
|
}
|
|
|
|
[Serializable]
|
|
public class CardViewParts
|
|
{
|
|
public Sprite background;
|
|
|
|
[KeyWidth(0.25f)]
|
|
public SerializableDictionary<string, GameObject> customParts;
|
|
}
|
|
} |