private void SetBroadcastState() { // setText if (bs_State == BroadcastState.inactive) { txt_BroadcastState_ButtonText.text = "Start"; } else { txt_BroadcastState_ButtonText.text = "Stop"; } txt_BroadcastState_LabelText.text = bs_State.ToString(); }