row col 倒转之前

This commit is contained in:
2025-06-23 00:30:11 +08:00
parent 29c11f3642
commit 22a2ce0ea6
6 changed files with 21 additions and 378 deletions

View File

@@ -37,6 +37,10 @@ public class GridSelector : MonoBehaviour
private List<Vector2> lassoPos = new List<Vector2>();
private LineRenderer lassoLine;
public CellType getCellType(int index)
{
return (CellType)dataArray[index].barrier;
}
public CellType CellType { set; get; }
public void OnMapCreated(Map map)
{