2023-08-10 06:39:59 +00:00
|
|
|
using System.Collections.Generic;
|
2023-08-23 01:10:33 +00:00
|
|
|
using BlueWaterProject;
|
2023-08-17 03:42:12 +00:00
|
|
|
using Sirenix.OdinInspector;
|
2023-08-10 06:39:59 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class DataManager : Singleton<DataManager>
|
|
|
|
{
|
2023-08-23 07:24:31 +00:00
|
|
|
[field: SerializeField] public CardDataSo CardDataSo { get; private set; }
|
2023-08-23 01:10:33 +00:00
|
|
|
|
2023-08-23 07:32:24 +00:00
|
|
|
[Title("DataBase")]
|
2023-08-24 06:51:53 +00:00
|
|
|
public List<string> CardList { get; private set; } = new(MAX_CARD_NUM);
|
2023-08-24 07:15:32 +00:00
|
|
|
private const int MAX_CARD_NUM = 100;
|
2023-08-23 01:10:33 +00:00
|
|
|
|
2023-08-23 07:32:24 +00:00
|
|
|
[Title("DataBase", "GameObject")]
|
2023-08-10 06:39:59 +00:00
|
|
|
public GameObject mouseSpot;
|
2023-08-11 17:50:36 +00:00
|
|
|
public GameObject boat;
|
2023-08-17 02:02:18 +00:00
|
|
|
public GameObject assaultCard;
|
2023-08-17 03:42:12 +00:00
|
|
|
|
2023-08-23 07:32:24 +00:00
|
|
|
[Title("DataBase", "Sprites")]
|
2023-08-17 03:42:12 +00:00
|
|
|
public Sprite[] cardType;
|
2023-08-10 06:39:59 +00:00
|
|
|
}
|