Function GridNodeBase.HasConnectionInDirection
        
                HasConnectionInDirection
        
                (int direction)
    
            
            True if the node has a connection to an adjecent node in the specified direction.
                Public
            
        bool HasConnectionInDirection (
int  |     direction  |         
True if the node has a connection to an adjecent node in the specified direction.
The dir parameter corresponds to directions in the grid as:         Z
        |
        |
     6  2  5
      \ | /
--  3 - X - 1  ----- X
      / | \
     7  0  4
        |
        |
Note
This method only takes grid connections into account, not custom connections (i.e. those added using Connect or using node links).