public void OnInteraction(GameObject other) { if (!enabled) { return; } if (parentPoint != null) { parentPoint.gameObject.SetActive(true); HoloTable ht = GetComponentInParent <HoloTable>(); ht.PartRemoved(this); } Destroy(gameObject); }