This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-10-17 02:12:03 +08:00
parent c85f350e0a
commit dd2e0e8a46
16 changed files with 52 additions and 611 deletions

View File

@@ -1,5 +1,4 @@
using System.Collections.Generic;
using DotRecast.Core.Collections;
using JNGame.Math;
using JNGame.Runtime.Util;
using JNGame.Sync.State.Tile;
@@ -38,11 +37,11 @@ namespace JNGame.Sync.Debuger
DrawContains(service.MaxContains,service.MinContains,Color.red);
//绘制连接区域
service.GetLinkTiles().ForEach(index =>
foreach (var linkTile in service.GetLinkTiles())
{
(LVector2 max, LVector2 min) = service.GetTileContains(index);
(LVector2 max, LVector2 min) = service.GetTileContains(linkTile);
DrawContains(max,min,Color.cyan);
});
}
}