public void Remove() { anchorA.OnRemoveConnector(); anchorB.OnRemoveConnector(); _blockConnector = null; Destroy(gameObject); }
public BlockConnector CreateBlockConnector() { _blockConnector = new BlockConnector(); _blockConnector.a = a.behaviourEntity; _blockConnector.b = b.behaviourEntity; return(_blockConnector); }