temp #36
After Width: | Height: | Size: 656 B |
After Width: | Height: | Size: 680 B |
After Width: | Height: | Size: 876 B |
After Width: | Height: | Size: 1001 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 915 B |
@ -1,3 +1,4 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Tilemaps;
|
using UnityEngine.Tilemaps;
|
||||||
|
|
||||||
@ -7,9 +8,12 @@ namespace Map
|
|||||||
{
|
{
|
||||||
public Tilemap dataLevel;
|
public Tilemap dataLevel;
|
||||||
public Tilemap textureLevel;
|
public Tilemap textureLevel;
|
||||||
|
|
||||||
|
public Dictionary<string, TileBase> tileDict = new();
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
tileDict = Configs.ConfigProcessor.LoadResources<TileBase>("TileMap");
|
||||||
|
Debug.Log(tileDict.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
|
Reference in New Issue
Block a user