/// Is this position and surrounding area completely clear of solid objects except for provided one? public bool IsFloatingAt(GameObject[] context, Vector3Int position, bool isServer) { foreach (Vector3Int pos in position.BoundsAround().allPositionsWithin) { if (!MetaTileMap.IsEmptyAt(context, pos, isServer)) { return(false); } } return(true); }
public bool IsEmptyAt(Vector3Int position, bool isServer) { return(MetaTileMap.IsEmptyAt(position, isServer)); }
public bool IsEmptyAt(Vector3Int position) { return(metaTileMap.IsEmptyAt(position)); }