26 lines
539 B
C#
26 lines
539 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Tilemaps;
|
|
|
|
namespace Map
|
|
{
|
|
public class DoubleMap : MonoBehaviour
|
|
{
|
|
public Tilemap dataLevel;
|
|
public Tilemap textureLevel;
|
|
|
|
public Dictionary<string, TileBase> tileDict = new();
|
|
void Start()
|
|
{
|
|
tileDict = Configs.ConfigProcessor.LoadResources<TileBase>("TileMap");
|
|
Debug.Log(tileDict.Count);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|