2025-07-14 19:50:51 +08:00
|
|
|
using System.Collections.Generic;
|
2025-07-12 00:24:28 +08:00
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.Tilemaps;
|
|
|
|
|
|
|
|
namespace Map
|
|
|
|
{
|
|
|
|
public class DoubleMap : MonoBehaviour
|
|
|
|
{
|
|
|
|
public Tilemap dataLevel;
|
|
|
|
public Tilemap textureLevel;
|
2025-07-14 19:50:51 +08:00
|
|
|
|
|
|
|
public Dictionary<string, TileBase> tileDict = new();
|
2025-07-12 00:24:28 +08:00
|
|
|
void Start()
|
|
|
|
{
|
2025-07-14 19:50:51 +08:00
|
|
|
tileDict = Configs.ConfigProcessor.LoadResources<TileBase>("TileMap");
|
|
|
|
Debug.Log(tileDict.Count);
|
2025-07-12 00:24:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Update is called once per frame
|
|
|
|
void Update()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|