Пример #1
0
 public void Remove()
 {
     anchorA.OnRemoveConnector();
     anchorB.OnRemoveConnector();
     _blockConnector = null;
     Destroy(gameObject);
 }
Пример #2
0
 public BlockConnector CreateBlockConnector()
 {
     _blockConnector   = new BlockConnector();
     _blockConnector.a = a.behaviourEntity;
     _blockConnector.b = b.behaviourEntity;
     return(_blockConnector);
 }