Exemplo n.º 1
0
    /// 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);
    }
Exemplo n.º 2
0
 public bool IsEmptyAt(Vector3Int position, bool isServer)
 {
     return(MetaTileMap.IsEmptyAt(position, isServer));
 }
Exemplo n.º 3
0
 public bool IsEmptyAt(Vector3Int position)
 {
     return(metaTileMap.IsEmptyAt(position));
 }