格子划分正常
This commit is contained in:
@@ -194,7 +194,7 @@ public class UICellEditor : MonoBehaviour
|
||||
//ͼ<><CDBC><EFBFBD>༭
|
||||
public void OnShowLayerToggleChange()
|
||||
{
|
||||
MapManager.CellLayer[] layers = (MapManager.CellLayer[])Enum.GetValues(typeof(MapManager.CellLayer));
|
||||
CellLayer[] layers = (CellLayer[])Enum.GetValues(typeof(CellLayer));
|
||||
_layers = 0;
|
||||
for (int i= showgLayers.Length - 1; i>=0; i--)
|
||||
{
|
||||
@@ -223,7 +223,7 @@ public class UICellEditor : MonoBehaviour
|
||||
}
|
||||
|
||||
float brushRadius = Convert.ToSingle(txtBrushRadius.text);
|
||||
MapManager.CellType type = (MapManager.CellType)(1 << dropCellType.value);
|
||||
CellType type = (CellType)(1 << dropCellType.value);
|
||||
MapManager.Instance.SetBrush(brushRadius, type);
|
||||
MapManager.Instance.StartEditor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user