private void DeselectPartner() { if (partner != null) { PlaceableObject component = partner.GetComponent <PlaceableObject>(); if (component != null) { component.deselect(); } } }