OldBlueWater/BlueWater/Assets/02.Scripts/DataManager.cs

21 lines
594 B
C#
Raw Normal View History

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;
using UnityEngine;
public class DataManager : Singleton<DataManager>
{
[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")]
public GameObject mouseSpot;
public GameObject boat;
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;
}