Ejemplo n.º 1
0
 public void JoinConnection(Vector3 connectionToClose)
 {
     foreach (Transform connection in _connections.AllConnections())
     {
         if (connection.localPosition == connectionToClose)
         {
             _connections.closedConnections.Add(connection);
             connection.GetComponent <ConnectionGizmos>().color = Color.green;
             _RemoveConnection(connection);
             break;
         }
     }
 }