编辑器

This commit is contained in:
tangbin
2025-11-18 10:11:56 +08:00
parent 841a08f40e
commit 5af3e15719
89 changed files with 6430 additions and 19 deletions

View File

@@ -22,8 +22,8 @@ public class GridSelector : MonoBehaviour
private MeshCollider mapCollider;
private Map map;
public int horizontalNumber { get { return Mathf.FloorToInt(map.width / map.sideWidth); } }
public int verticalNumber { get { return Mathf.FloorToInt(map.height / map.sideHeight); } }
public int horizontalNumber => map.horizontalNumber;
public int verticalNumber => map.verticalNumber;
public int totalNumber { get { return horizontalNumber * verticalNumber; } }
public int moveNum;