private void RestrictMedium(bool state) { Medium.interactable = !state; Medium.GetComponentsInChildren <Text>()[0].color = (state) ? Color.gray : Color.white; }