private void SwitchColliders() { if (userCardHand.GetCardSelected() == false) { this.GetComponents <BoxCollider>()[0].enabled = false; this.GetComponents <BoxCollider>()[1].enabled = true; } else { this.GetComponents <BoxCollider>()[0].enabled = true; this.GetComponents <BoxCollider>()[1].enabled = false; } }