36 lines
703 B
C#
36 lines
703 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
using UnityEngine.Tilemaps;
|
|
|
|
namespace Map
|
|
{
|
|
public class DoubleMap : MonoBehaviour
|
|
{
|
|
public List<List<int>> mapData = new();
|
|
// public Tilemap dataLevel;
|
|
public Tilemap textureLevel;
|
|
|
|
public Dictionary<string, TileBase> tileDict = new();
|
|
void Start()
|
|
{
|
|
TileManager.Instance.Init();
|
|
}
|
|
|
|
public void UpdateTexture()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public class TileManager:Utils.Singleton<TileManager>
|
|
{
|
|
Dictionary<int, TileBase> tileDict = new();
|
|
public void Init()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|