23 lines
632 B
C#
23 lines
632 B
C#
using System.Collections.Generic;
|
|
using HexFiled;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Runtime.Data
|
|
{
|
|
[CreateAssetMenu(fileName = "FieldData", menuName = "Data/Field Data")]
|
|
public class FieldData : ScriptableObject
|
|
{
|
|
public int width = 6;
|
|
public int height = 6;
|
|
public Color defaultColor = Color.white;
|
|
public Color touchedColor = Color.magenta;
|
|
|
|
public GameObject cellPrefab;
|
|
public TMP_Text cellLabelPrefab;
|
|
public GameObject CoordinatesCanvas;
|
|
public Texture DefaultTexture;
|
|
public List<CellColor> colors;
|
|
}
|
|
} |