(client) fix:发现资源文件夹少了个s

This commit is contained in:
m0_75251201
2025-07-14 19:50:51 +08:00
parent ea095835ce
commit 30d908a316
52 changed files with 6 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

View File

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 680 B

View File

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 876 B

View File

Before

Width:  |  Height:  |  Size: 1001 B

After

Width:  |  Height:  |  Size: 1001 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View File

@ -271,7 +271,7 @@ namespace Configs
// 加载指定路径下的所有资源
T[] resources = Resources.LoadAll<T>(path);
foreach (T resource in resources)
{
if (resource != null)

View File

@ -1,3 +1,4 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
@ -7,9 +8,12 @@ namespace Map
{
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