#25 Add card list
This commit is contained in:
parent
e066f0ea52
commit
6c78a25e45
@ -1,10 +1,14 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using _02.Scripts.WaterAndShip;
|
||||||
|
using BlueWaterProject;
|
||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class DataManager : Singleton<DataManager>
|
public class DataManager : Singleton<DataManager>
|
||||||
{
|
{
|
||||||
|
public List<Card> CardList = new List<Card>(10);
|
||||||
|
|
||||||
public GameObject mouseSpot;
|
public GameObject mouseSpot;
|
||||||
public GameObject boat;
|
public GameObject boat;
|
||||||
public GameObject assaultCard;
|
public GameObject assaultCard;
|
||||||
|
9
BlueWater/Assets/02.Scripts/Player/Card.cs
Normal file
9
BlueWater/Assets/02.Scripts/Player/Card.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using BlueWaterProject;
|
||||||
|
|
||||||
|
namespace _02.Scripts.WaterAndShip
|
||||||
|
{
|
||||||
|
public class Card
|
||||||
|
{
|
||||||
|
public Unit Unit { get; set; }
|
||||||
|
}
|
||||||
|
}
|
3
BlueWater/Assets/02.Scripts/Player/Card.cs.meta
Normal file
3
BlueWater/Assets/02.Scripts/Player/Card.cs.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 16343c2e0d0f4d428992aaa40d8764ca
|
||||||
|
timeCreated: 1692752814
|
Loading…
Reference in New Issue
Block a user