(client) feat:实现行为树条件节点的实际功能
This commit is contained in:
@ -6,24 +6,6 @@ namespace Map
|
||||
{
|
||||
public class MapGenerator:MonoBehaviour
|
||||
{
|
||||
public DoubleMap baseLevel;
|
||||
public Tilemap buildLevel;
|
||||
public Tilemap plantLevel;
|
||||
|
||||
|
||||
public bool CanPassThrough(int x, int y)
|
||||
{
|
||||
return GetTilePassCost(x, y) < 1;
|
||||
}
|
||||
public float GetTilePassCost(int x, int y)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public float GetTileBulletCover(int x, int y)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user